GNU bug report logs - #24926
ls-quotes: ls output has been made ugly

Previous Next

Package: coreutils;

Reported by: Michael Schwager <mike <at> schwager.com>

Date: Fri, 11 Nov 2016 16:36:01 UTC

Severity: normal

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 24926 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Michael Schwager <mike <at> schwager.com>, 24926 <at> debbugs.gnu.org
Subject: Re: bug#24926: ls output has been made ugly
Date: Fri, 11 Nov 2016 10:26:15 -0800
Michael Schwager wrote:
> Don't you think I can see the spaces in my filenames?

Not in general, no.  For example:

$ ls --quoting-style=literal
a  b  c
$ ls
'a  b'  c

That being said, perhaps 'ls' could quote less aggressively.  If 'ls' always 
arranges for at least two spaces between file names, for example, 'ls' doesn't 
need to quote a name merely because it contains a space surrounded by 
non-whitespace characters.  Come to think of it, 'ls -l' need not quote file 
names containing spaces at all.




This bug report was last modified 6 years and 160 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.