GNU bug report logs - #23110
seq apparent bug

Previous Next

Package: coreutils;

Reported by: Маренков Евгений <hotpil <at> mail.ru>

Date: Thu, 24 Mar 2016 17:23:03 UTC

Severity: normal

Tags: fixed

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pádraig Brady <P <at> draigBrady.com>
To: Bernhard Voelker <mail <at> bernhard-voelker.de>, Ruediger Meier <sweet_f_a <at> gmx.de>, 23110 <at> debbugs.gnu.org, Paul Eggert <eggert <at> cs.ucla.edu>
Subject: bug#23110: seq apparent bug
Date: Thu, 14 Apr 2016 17:47:39 +0100
The 2 patches look good.

On 14/04/16 17:37, Bernhard Voelker wrote:
>> >    seq 1 .0000000000000000000000000000001 1
> I consider this a bug in seq: from mathematical point of view, the above
> should just output "1" and then exit, because after adding that tiny number
> the next number would be greater than LAST.

right

> IMO we should enhance seq_fast() to do all the Math when no special
> output format is given.
> WDYT?

It would be good to expand seq_fast to more cases.

thanks!
Pádraig





This bug report was last modified 6 years and 210 days ago.

Previous Next


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