Public bug reported:

$ 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

** Affects: coreutils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: raring regression-release

** Description changed:

  $ 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
- 2,3,4,5,   (does not end with newline)
+ 1\n2,3,4,5,
  
  $ seq -s ', ' 5
- 1, 2, 3, 4, 5  (ends with newline)
+ 1, 2, 3, 4, 5\n

** Tags added: raring regression-release

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1161073

Title:
  seq puts the separator on wrong spot!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1161073/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to