GNU bug report logs - #25388
ls-quotes: kills existing scripts reading "ls" -1 as input

Previous Next

Package: coreutils;

Reported by: L A Walsh <coreutils <at> tlinx.org>

Date: Sun, 8 Jan 2017 03:53: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: Pádraig Brady <P <at> draigBrady.com>
Cc: Paul Eggert <eggert <at> cs.ucla.edu>, Andreas Schwab <schwab <at> linux-m68k.org>, 25388 <at> debbugs.gnu.org
Subject: bug#25388: Bug in ls, kills existing scripts reading "ls" -1 as input
Date: Mon, 09 Jan 2017 12:37:00 -0800
How do you reopen a bug that was closed before I even replied?


Pádraig Brady wrote:
> tag 25388 notabug
> close 25388
> stop
> 
> On 09/01/17 18:48, L A Walsh wrote:
>> ls alias on my machines:
>> alias ls='ls -CF --show-control-chars --color=always'
> 
> Note a caveat of the above is that it changes the display width
> depending on whether you pipe to more or not.
> You could avoid that by changing the alias to:
> 
>   alias ls='COLUMNS=$COLUMNS ls -CF --show-control-chars --color'
> 
> Also you can stick a -N option in that alias to disable the default quoting.
> 
> cheers,
> Pádraig.
> 




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.