Subject: bug#15869: Bug in seq command --separator option

From: James Bowlin <[email-masked]>
Date: Tue, 12 Nov 2013 01:01:12 -0700

I'm using seq from the coreutils-8.20 package on Gentoo Linux.

Here is the incorrect output

    $ seq -s, 1 5
    1
    2,3,4,5,%

The newline comes after the "1" instead of after the "5".  The "%"
indicates the lack of a newline.  A comma is lacking after the "1"
and an extra comma was added after the "5".

Here is the correct output from the busybox seq:

   $ busybox seq -s, 1 5
   1,2,3,4,5

Peace, James