[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25078: ls 8.26: discrepancy between `ls' and `ls -1' in the alignmen
From: |
Zhiming Wang |
Subject: |
bug#25078: ls 8.26: discrepancy between `ls' and `ls -1' in the alignment of quoted and nonquoted items |
Date: |
Wed, 30 Nov 2016 16:48:01 -0500 |
> On Nov 30, 2016, at 4:35 PM, Pádraig Brady <address@hidden> wrote:
>
> When `ls -1` is used interactively it can be handy to triple click to
> select the whole line, in which case selecting just the file name without
> leading space would be preferred.
I had this thought as well because I've been triple clicking ls output a
lot since 8.25, but then I realized when the filename is one single blob
that doesn't need quoting, I can (at least in my terminal emulator) just
double click to select it anyway, so it doesn't really matter.
> Also one can use `ls -1 | less` etc. in "interactive" mode, in which case
> ls couldn't use alignment or it would break lots of scripts, but then
> the output would be inconsistent if alignment was used without the pipe.
Yeah, that's a valid argument.
> Also one can achieve the desired output with `ls -w1` or `ls -x -w1 | less`.
Didn't think of `ls -w1`. I'll use that, thanks.
Best,
Zhiming