GNU bug report logs - #12959
"seq -w -1e-3 9" misaligned

Previous Next

Package: coreutils;

Reported by: "Marcel Böhme" <hawkie <at> web.de>

Date: Thu, 22 Nov 2012 10:51:01 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: 12959 <at> debbugs.gnu.org, P <at> draigBrady.com, hawkie <at> web.de
Subject: bug#12959: "seq -w -1e-3 9" misaligned
Date: Fri, 23 Nov 2012 11:08:41 +0100
On 11/23/2012 10:04 AM, Pádraig Brady wrote:
> 
> The attached should fix this.

> * src/seq.c (scan_arg): Calculate the width more accurately
> for numbers specified using scientific notation.
> * tests/misc/seq.pl: Add test cases for cases that were mishandled

s/$/./

> * NEWS: Mention the fix.
> * THANKS.in: Reported by Marcel Böhme

s/$/./

And as it's a bug, we should mention it:
  http://bugs.gnu.org/12959

Other than that, the patch looks good.
Thanks.

Have a nice day,
Berny






This bug report was last modified 12 years and 233 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.