[Bug 1161073] Re: seq puts the separator on wrong spot!
C de-Avillez
hggdh2 at ubuntu.com
Thu Mar 28 02:21:33 UTC 2013
Thank you for opening this bug and helping make Ubuntu better. First of
all, please use 'ubuntu-bug coreutils' next time, so that a minimum of
information can be automatically collected (like, for example, package
version, coreutils version).
I can confirm this on coreutils 8.20 (Raring, version 8.20-3ubuntu5):
[cerdea-aws]cerdea at xango3:/build/buildd/coreutils$ seq --version
seq (GNU coreutils) 8.20
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Ulrich Drepper.
[cerdea-aws]cerdea at xango3:/build/buildd/coreutils$ seq -s, 5
1
2,3,4,5,[cerdea-aws]cerdea at xango3:/build/buildd/coreutils$
But I cannot see it on a more up-to-date coreutils:
[cerdea-aws]cerdea at xango3:/build/buildd/coreutils$ src/seq --version
seq (GNU coreutils) 8.21.20-2c2d0
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Ulrich Drepper.
[cerdea-aws]cerdea at xango3:/build/buildd/coreutils$ src/seq -s, 5
1,2,3,4,5
[cerdea-aws]cerdea at xango3:/build/buildd/coreutils$
So I will check as soon as possible for the fix.
** Changed in: coreutils (Ubuntu)
Importance: Undecided => Low
** Changed in: coreutils (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/1161073
Title:
seq puts the separator on wrong spot!
Status in “coreutils” package in Ubuntu:
Confirmed
Bug description:
$ seq -s, 5
Expected: 1,2,3,4,5
Got: 1\n2,3,4,5,
(\n denotes a newline)
Also note the extreme difference between outputs of these
$ seq -s ',' 5
1\n2,3,4,5,
$ seq -s ', ' 5
1, 2, 3, 4, 5\n
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1161073/+subscriptions
More information about the foundations-bugs
mailing list