> On Nov 30, 2016, at 4:35 PM, Pádraig Brady <[email protected]> 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


Reply via email to