98
you are viewing a single comment's thread
view the rest of the comments
[-] DoomBot5@lemmy.world 8 points 1 year ago

First one has the pitfall of a space at the end of the variable still causing it to fail.

[-] venusenvy47@lemdro.id 1 points 1 year ago

Would a space at the end of the variable be ignored in the second one, though?

[-] DoomBot5@lemmy.world 1 points 1 year ago

It would still be considered a single variable because the entire string is quoted. The first scenario would have split it into 2 variables.

this post was submitted on 26 Aug 2023
98 points (98.0% liked)

linuxmemes

20753 readers
1011 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS