bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23110: seq apparent bug


From: Bernhard Voelker
Subject: bug#23110: seq apparent bug
Date: Thu, 7 Apr 2016 16:40:46 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

reopen 23110
thanks

On 04/07/2016 11:46 AM, Ruediger Meier wrote:
> I understand that this issue is not a bug. But it wouldn't be also not a 
> bug if coreutils would behave like BSD:
> 
> $ seq 1 0 10 ; echo $?
> seq: zero increment
> 1

Ah, okay: as there's prior art in the BSDs [0], the attached
proposes the same for GNU coreutils.

[0] http://ftp.netbsd.org/pub/NetBSD/NetBSD-release-7/src/usr.bin/seq/seq.c

Have a nice day,
Berny

Attachment: 0001-seq-do-not-allow-0-as-increment-value.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]