Package: coreutils Version: 8.23-4 Severity: grave Justification: causes non-serious data loss
Dear Maintainer, The command 'cat > somefile' truncates input lines longer than 4096 characters. To reproduce: [[[ % yes | head -2049 | xargs | xclip -i # copy 4098 bytes on a single line % xclip -o | cat > foobar && wc -c foobar # no problem when stdin is a pipe 4098 foobar % cat > foobar && wc -c foobar <paste><EOF> 4096 foobar ]]] In the above, <paste> represents using the X11 "paste" action (such as middle-click or shift+insert) and <EOF> represents pressing <Ctrl+D>. I expected the full 4098 bytes to be pasted. -- System Information: Debian Release: 8.1 APT prefers stable APT policy: (990, 'stable'), (500, 'testing-updates'), (500, 'stable-updates'), (250, 'testing'), (200, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages coreutils depends on: ii libacl1 2.2.52-2 ii libattr1 1:2.4.47-2 ii libc6 2.19-18 ii libselinux1 2.3-2 coreutils recommends no packages. coreutils suggests no packages. -- debconf-show failed