diff options
author | Pádraig Brady <P@draigBrady.com> | 2009-02-14 17:20:37 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2009-02-14 23:47:14 +0000 |
commit | 5d0b158f4c7b7fa506a9accec511209f68890982 (patch) | |
tree | 18f9b22e63228e61a8f4187733afd28b535858a0 /NEWS | |
parent | 982504452d60a87632a5a2f11d1be645e06d8346 (diff) | |
download | coreutils-5d0b158f4c7b7fa506a9accec511209f68890982.tar.xz |
seq: Fix equal width calculation when '.' added to last number
Issue reported by Samuel Hapák.
<http://lists.gnu.org/archive/html/bug-coreutils/2009-02/msg00139.html>
* src/seq.c: Account for '.' added to "last" number.
* tests/misc/seq: Add corresponding test.
* NEWS: Mention the fix.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -35,6 +35,9 @@ GNU coreutils NEWS -*- outline -*- Even with this patch, on some systems, it still produces invalid output, from 3 to at least 1026 lines long. [bug introduced in coreutils-6.11] + seq -w now accounts for a decimal point added to the last number + to correctly print all numbers to the same width. + wc --files0-from=FILE no longer reads all of FILE into RAM, before processing the first file name, unless the list of names is known to be small enough. |