this post was submitted on 26 Aug 2023
101 points (98.1% liked)
linuxmemes
20880 readers
2 users here now
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- No recent reposts
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
First one has the pitfall of a space at the end of the variable still causing it to fail.
Would a space at the end of the variable be ignored in the second one, though?
It would still be considered a single variable because the entire string is quoted. The first scenario would have split it into 2 variables.