|
From: | Paul Eggert |
Subject: | bug#22698: ls output changes considered unacceptable |
Date: | Thu, 18 Feb 2016 21:24:49 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
Paul Vint wrote:
when I type ls in a directory with a couple files with spaces in their names, since they are enclosed in quotes, those files jump out at me in the listing
In my experience this is more of a feature than a bug, for many new users. Here's the old behavior:
$ ls a b c d $ ls -l a b ls: cannot access 'b': No such file or directory -rw-r--r--. 1 eggert eggert 0 Feb 18 21:16 aIn contrast, with the new behavior the apostrophes give the user fair warning that the file names might cause trouble:
$ ls a 'b c' d $ ls -l a b ls: cannot access 'b': No such file or directory -rw-r--r--. 1 eggert eggert 0 Feb 18 21:16 a
[Prev in Thread] | Current Thread | [Next in Thread] |