Package: coreutils
Version: 8.20-3
Severity: normal

--- Please enter the report below this line. ---

On Debian sid (incorrect):
$ /usr/bin/seq -s 'a' 3
1
2a3a

On Debian wheezy (correct):
$ /usr/bin/seq -s 'a' 3
1a2a3

The manpage says for -s: "use STRING to separate numbers (default: \n)".
And the info page says: "Separate numbers with STRING; default is a newline.  
The output always terminates with a newline."

Apparently the unstable version of seq confuses the first separator and the 
final newline, i.e. it SHOULD replace the first separator with 'a', and it 
SHOULDN'T replace the terminating newline with an 'a'.

--- System information. ---
Architecture: amd64
Kernel:       Linux 3.9.7

Debian Release: jessie/sid
  500 unstable        ftp.ro.debian.org 
  500 stable          security.debian.org 
  500 stable          ftp.ro.debian.org 

--- Package information. ---
Depends             (Version) | Installed
=============================-+-=============
dpkg             (>= 1.15.4)  | 1.16.10
 OR install-info              | 5.1.dfsg.1-3


Package's Recommends field is empty.

Package's Suggests field is empty.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to