|
From: | L A Walsh |
Subject: | bug#25388: Bug in ls, kills existing scripts reading "ls" -1 as input |
Date: | Mon, 09 Jan 2017 12:39:22 -0800 |
User-agent: | Thunderbird |
reopen 25388 thanks It's still a bug as it goes against adding new behaviors that generate different output based on destination = tty or not. 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.
[Prev in Thread] | Current Thread | [Next in Thread] |