|
From: | Paul Eggert |
Subject: | bug#32774: Filenames with spaces in ls |
Date: | Wed, 19 Sep 2018 12:46:01 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Ivan Perez wrote:
the presence of the extra quote and the misalignment that that causes draws one's attention to the quote.That's part of the intent. The quotes draw the reader's attention to the oddball file name, which is a good thing since these file names can cause trouble when they are cut and pasted from 'ls' output.
File names with similar but related names no longer appear aligned in ls
That depends on what one means by 'appear aligned'. In this 'ls -l' output: -rw-rw-r--. 1 eggert eggert 0 Sep 19 12:39 a -rw-rw-r--. 1 eggert eggert 0 Sep 19 12:39 'a b' -rw-rw-r--. 1 eggert eggert 0 Sep 19 12:39 a-ball three file names are aligned to start at the same screen column; there's a column of 'a's that line up, and the quotes are not part of the quoted file name. I prefer having file names aligned like that, and wouldn't favor aligning the opening quote to be equal to the unquoted files' initial 'a's. Admittedly preferences differ, but alignment is not really the issue here; it's the quotes that people are largely objecting to.
[Prev in Thread] | Current Thread | [Next in Thread] |