On 02/05/2018 07:45 PM, Kaz Kylheku (Coreutils) wrote: > There is no need for this pointless garbage. Unix has gotten along > without quoting the output of ls for 43 years now.
If you search the mailing list archive, then you'll see that this has already been discussed (several times). IMO the main reason that the current implementation is the right direction is that file names became more and more "ugly" in the past 43 years. Compare this quite easy cases: $ /bin/ls -N a b c d $ /bin/ls 'a b' 'c ' ' d' You see, you can still use alias ls='\ls -N' to get the old, IMO broken output.
Programs which parse the output of "ls" are broken.
It is not about parsing, but rather about easier copy+paste in a terminal. If the output is not a terminal, then ls(1) still falls back to the old mode: $ /bin/ls | cat a b c d Have a nice day, Berny
