--- Begin Message ---
Subject: |
seq -s broken in coretutils 8.20? |
Date: |
Wed, 19 Dec 2012 17:53:07 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121203 Thunderbird/10.0.11 |
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
Description: Text document
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#13227: seq -s broken in coretutils 8.20? |
Date: |
Thu, 20 Dec 2012 00:33:05 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 |
On 12/19/2012 07:01 PM, Pádraig Brady wrote:
On 12/19/2012 04:53 PM, Philipp Gortan wrote:
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)
The attached should fix it.
thanks,
Pádraig.
seq-sep.diff
Description: Text Data
--- End Message ---