diff options
author | Pádraig Brady <P@draigBrady.com> | 2015-10-20 14:42:39 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-10-21 01:40:02 +0100 |
commit | 0e997681d4497fe9ba6db035909e413a5af050a9 (patch) | |
tree | 3a6e4bbf904902dbb71124567942198e3142147a /NEWS | |
parent | 069961924efb64349914df085d6b0ac76bdaf7ae (diff) | |
download | coreutils-0e997681d4497fe9ba6db035909e413a5af050a9.tar.xz |
ls: allow -w0 to mean no limit on line length
* src/ls.c (print_with_separator): Renamed from print_with_commas,
and parameterized to accept the separator to print.
Also fix an edge case where '\n' not printed when
the POS variable overflows SIZE_MAX.
(print_current_files): Degenerate -x and -C to using the
cheaper print_with_separator() in the -w0 case.
* doc/coreutils.texi (ls invocation): Document the new feature.
* tests/ls/w-option.sh: A new test.
* tests/local.mk: Reference the new test.
* NEWS: Mention the improvement.
Fixes http://bugs.gnu.org/21325
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -29,6 +29,8 @@ GNU coreutils NEWS -*- outline -*- upon detection of a directory cycle. [issue introduced in coreutils-8.20] + ls -w0 is now interpreted as no limit on the length of the outputted line. + * Noteworthy changes in release 8.24 (2015-07-03) [stable] |