From 5d0b158f4c7b7fa506a9accec511209f68890982 Mon Sep 17 00:00:00 2001
From: Pádraig Brady
Date: Sat, 14 Feb 2009 17:20:37 +0000
Subject: seq: Fix equal width calculation when '.' added to last number
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Issue reported by Samuel Hapák.
* src/seq.c: Account for '.' added to "last" number.
* tests/misc/seq: Add corresponding test.
* NEWS: Mention the fix.
---
NEWS | 3 +++
1 file changed, 3 insertions(+)
(limited to 'NEWS')
diff --git a/NEWS b/NEWS
index a83ca66dc..9de4f256d 100644
--- a/NEWS
+++ b/NEWS
@@ -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.
--
cgit v1.2.3-70-g09d2