Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'IMPORTANT: Spaces need to be escaped!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
IMPORTANT: Spaces need to be escaped!
Authored by: lionel77 on Dec 24, '05 04:08:04AM
Very weird, I could have sworn the backslash was in my post after I had posted it...
Yes, single quotes would also work. I usually avoid them as I think that they tend to make thinks more messy but that might be a subjective thing.

Just out of curiosity, a quick test:
one bs: /
two bs: //
three bs: ///
four bs: ////


[ Reply to This | # ]

Forum software is fixed now
Authored by: lionel77 on Dec 24, '05 04:11:22AM

Looks like the backslash eating behavior of the forum software has been fixed now. Excellent. :)



[ Reply to This | # ]
Forum software is NOT fixed
Authored by: lionel77 on Dec 24, '05 04:19:28AM

Looks like I need some sleep, I confused slashes with backslashes in my earlier test.



[ Reply to This | # ]
backslashes vs. quotes
Authored by: sjk on Dec 30, '05 11:43:22AM
Yes, single quotes would also work. I usually avoid them as I think that they tend to make thinks more messy but that might be a subjective thing.

Yep, personal preference is subjective; backslash-quoted text looks sloppier to me. I'll sometimes use them in interactive shells but avoid unnecessary usage in scripts. And I think experienced shell programmers (those I respect most anyway :-)) recommend using single- or double-quoted strings. Anyway, viewing filenames that contain backslash-quoting is more inefficiently unreadable to me than simply dropping any quotes from each end.

[ Reply to This | # ]