diff options
author | Pádraig Brady <P@draigBrady.com> | 2012-12-19 19:27:10 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2012-12-21 15:55:19 +0000 |
commit | 76f606a9544bd67629bd4766ff6efe8bf42b20d9 (patch) | |
tree | be7a7617d93624af2e88a9c8aca32ea3dfea17bd /NEWS | |
parent | 0568f72d2a09b247176b9ad162e41e3a475a1d53 (diff) | |
download | coreutils-76f606a9544bd67629bd4766ff6efe8bf42b20d9.tar.xz |
seq: fix newline output when -s specified
This regression was introduced in commit v8.19-132-g3786fb6.
* src/seq.c (seq_fast): Don't use puts() to output the first number,
and instead insert it into the buffer as for other numbers.
Also output the terminator unconditionally.
* tests/misc/seq.pl: Add some basic tests for the -s option.
* NEWS: Mention the fix.
* THANKS.in: Reported by Philipp Gortan.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -43,6 +43,10 @@ GNU coreutils NEWS -*- outline -*- the output numbers are properly aligned and of the correct width. [This bug was present in "the beginning".] + seq -s now doesn't output an erroneous newline after the first number, and + outputs a newline after the last number rather than a trailing separator. + [bug introduced in coreutils-8.20] + ** Changes in behavior df --total now prints '-' into the target column (mount point) of the |