GNU bug report logs - #13525
8.20 - [seq 1 3 1] treated as [seq 1 3]

Previous Next

Package: coreutils;

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

Date: Tue, 22 Jan 2013 10:45:02 UTC

Severity: normal

Found in version 8.20

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

Bug is archived. No further changes may be made.

Full log


Message #19 received at 13525 <at> debbugs.gnu.org (full text, mbox):

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: 13525 <at> debbugs.gnu.org, hawkie <at> web.de
Subject: Re: bug#13525: 8.20 - [seq 1 3 1] treated as [seq 1 3]
Date: Tue, 22 Jan 2013 13:28:13 +0100
On 01/22/2013 01:17 PM, Pádraig Brady wrote:
> Updated patch attached.

That one is looking good ... but while we're at it:

Anyone tried this, i.e. a Zero as INCREMENT?

  $ seq 1 0 2

This is equal to `yes 0`. Well, this is probably a (not
documented) feature, but in the following examples, the "1"
should be printed only once, shouldn't it?

  $ seq 1 0 1
  $ seq 1 0.0 1

(BTW: "seq 2 0 1" works, i.e. doesn't print anything.)

Have a nice day,
Berny




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

Previous Next


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