[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 15:19:00 -0500 |
coreutils 8.26 includes the following improvement:
> ls now aligns quoted items with non quoted items, which is easier to read,
> and also better indicates that the quote is not part of the actual name.
which I find to be a welcome addition to the quoting behavior introduced in
8.25. However, this improvement does not apply to the -1 option, which is
puzzling to me. Compare the following (coreutils 8.26 on macOS 10.12.1,
80-column terminal, bash or zsh):
$ ls
'['
'a very very very very very very very very very very very very long
filename'
b2sum
base32
base64
basename
$ ls -1
'['
'a very very very very very very very very very very very very long
filename'
b2sum
base32
base64
basename
The second invocation with the -1 option leaves much to be desired in
comparison to the first invocation.
-1 should probably receive the same alignment treatment?
Best,
Zhiming
- bug#25078: ls 8.26: discrepancy between `ls' and `ls -1' in the alignment of quoted and nonquoted items,
Zhiming Wang <=