this post was submitted on 22 Sep 2023
42 points (92.0% liked)

Lemmy Support

4633 readers
3 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

Is this a known issue? If you type in somewhere it will be replaced by

Don't get me started on how this messes up linux commands and scripts, Is this a me problem or a lemmy problem? I need to study, if this is a known problem, then fine, but if it isn't then it needs to be reported.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 12 points 1 year ago* (last edited 1 year ago) (9 children)

& is how & is represented in HTML.

https://www.hammockforums.net/forum/showthread.php/105012-What-does-amp-amp-mean-see-it-a-lot-and-its-not-in-the-acronym-page

If you need a literal &, then preceed it with an escape character like "\".

[–] [email protected] 21 points 1 year ago (7 children)

These are programming details that the user should not have to think about.

[–] [email protected] 4 points 1 year ago (6 children)

OP noted: "Don't get me started on how this messes up linux commands and scripts"

If you're running linux commands and scripts, you're not a normal user and should know this already. :) It's only been the standard for 30 years or so.

[–] [email protected] 4 points 1 year ago (1 children)

should know this already. :)

What in the gosh darn condescending non sequitur is that? I have a special kind of dislike for people who, instead of trying to promote learning for anyone and everyone at any stage, instead choose to ridicule people for having missed some trivial detail that has about as much in common with Bash as does COBOL (basically nothing). Web scripting is, unsurprisingly, its own skill, and it's very, surpassingly, extremely, stupendously, and obviously conceivable that someone could have years of Bash experience but only recently started putting around with scripting for things like API access or HTML parsing. But you should know this already. :)

[–] [email protected] 1 points 1 year ago

Text encoding is SUPER basic and anyone looking to get involved in Linux or scripting absolutely should know that stuff FIRST.

Source: I was teaching Linux 23 years ago before it was cool.

Here's a good primer:

ASCII:
https://www.techtarget.com/whatis/definition/ASCII-American-Standard-Code-for-Information-Interchange

URL encoding:
https://www.w3schools.com/tags/ref_urlencode.ASP

Entity encoding:
https://www.w3schools.com/html/html_entities.asp

Really, ALL of the W3Schools stuff is just fantastic. Anyone remotely interested in this stuff should start at the beginning there and work up.

load more comments (4 replies)
load more comments (4 replies)
load more comments (5 replies)