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: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: Pádraig Brady <P <at> draigBrady.com>, 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 19:19:30 +0200
On 04/14/2016 06:47 PM, Pádraig Brady wrote:
> The 2 patches look good.

thanks for the review, pushed.

> 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.

I'll try to come up with something (which may take some time).

Have a nice day,
Berny




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.