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


View this message in rfc822 format

From: "L. A. Walsh" <coreutils <at> tlinx.org>
To: Michael Schwager <mike <at> schwager.com>, Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 24926 <at> debbugs.gnu.org
Subject: bug#24926: ls output has been made ugly
Date: Fri, 11 Nov 2016 11:40:36 -0800
Michael Schwager wrote:
>  I
> don't have single quotes in many of my filenames, although I do in some.
>   
---
   How did this get displayed?  In shell,
'foo \' bar' wouldn't be displayed correctly since you can't
use backslash to escape inside a single quoted string.


> That is just plain ugly. 
----
   Yeah, though I might use the term "noisy" as a primary
adjective.  :-)


Paul Eggert wrote:
> 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
----
   You must have a strange version of something -- that's not
what I see:

>  touch 'a b' c
>  Ishtar:/tmp/tmp> ls
a b  c
Ishtar:/tmp/tmp> ls --quoting-style=literal
a b  c
Ishtar:/tmp/tmp> ls --quoting-style=shell
'a b'  c

Where (or under what conditions)
do you see the "a, b and c" being
spaced apart equally?











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.