GNU bug report logs - #13227
seq -s broken in coretutils 8.20?

Previous Next

Package: coreutils;

Reported by: Philipp Gortan <gortan <at> gmail.com>

Date: Wed, 19 Dec 2012 17:07:02 UTC

Severity: normal

Merged with 13493, 14584, 15869, 17058

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: Philipp Gortan <gortan <at> gmail.com>
To: 13227 <at> debbugs.gnu.org
Subject: bug#13227: seq -s broken in coretutils 8.20?
Date: Wed, 19 Dec 2012 17:53:07 +0100
[Message part 1 (text/plain, inline)]
Dear coreutils crowd,

I recently upgraded the coreutils on my Gentoo AMD64 from 8.16 to 8.20.
I used the seq command to generate the values of an SQL "in" statement.
Since I upgraded, the SQL is no longer correct - here is what I found out:

$ seq -s, 6 9; seq --version

6
7,8,9,seq (GNU coreutils) 8.20
...

(nb: newline after the "6", the comma after the 9 and the missing newline)

After downgrading to 8.16, I get:

$ seq -s, 6 9; seq --version
6,7,8,9
seq (GNU coreutils) 8.16
...

For reference, on a RHEL 5.6, the output is also:

$ seq -s, 6 9; seq --version
6,7,8,9
seq (GNU coreutils) 5.97


So to me, it looks as if the speed optimizations in 8.20 broke the "-s"
feature of seq.

I have recompiled coreutils with the vanilla useflag, which means that
no gentoo-specific patches are applied. The attachted text file contains
further information (compiler version and flags, etc.).

Can anyone reproduce this behavior?

Philipp

[emerge_info.txt (text/plain, attachment)]

This bug report was last modified 11 years and 65 days ago.

Previous Next


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