:: Re: [DNG] [OT] bash / quote weirdne…
Forside
Slet denne besked
Besvar denne besked
Skribent: Alessandro Vesely
Dato:  
Til: dng
Emne: Re: [DNG] [OT] bash / quote weirdness
On Thu 13/Jan/2022 19:38:56 +0100 Simon wrote:
>
> Similarly with file names. Once upon a time the human had to adapt to what the computer supported - such as fitting your entire file name into 8 characters. Now the computer (mostly) supports what is natural for a human - and that includes using spaces in their writing. After_all_it_does_seem_a_bit_un-natural_not_being_allowed_to_use_spaces_in_your_writing_-_it_would_make_a_hard_to_read_book_!



Indeed, early writings didn't use spaces, not even underscores, to separate
words. And they had no 'puters at the time.

Spaces in filenames may look friendlier than underscores, but they undergo a
few annoying characteristics due to the fact that they cannot be seen. You
cannot distinguish them from tabs, or do you have a convention to not use tabs
in file names? And in that case may I ask why? Oh, tabs do something else in
a "save as..." form? Well, spaces do something else when you use them on the
command line. They require quoting, which is annoying.

When used in URLs spaces become %20, which is not more readable than _.

For some reason, nobody use spaces in the local part of email addresses,
although the syntax allows it. People do so in order to be easier.

Please don't use spaces in the names of files that you share.

Best
Ale
--