Package: msort Version: 8.52-1.2+b1 Severity: normal
Feed STDIN & STDOUT (8 lines total) to 'cat -n' for line numbers. Where did line 7 go? % echo -e "b\na" | msort -l -n 1 2>&1 | cat -n 1Key 1 obligatory first field Increasing lexicographic 2Reading from stdin. 3Records processed: 2 4Sorting... Records written: 0a 6b 2 8Comparisons: 1 A hex dump shows: # show STDIN & STDOUT, with line count, 'msort'-ed, with # hexdump format "count# 8hexbytes 8charnames" % echo -e "b\na" | msort -l -n 1 2>&1 | \ cat -n | \ hexdump -v -e '1/1 "%_ad# "' -e '8/1 "%02X ""\t"" "' -e '8/1 " %_u\" "\n"' | \ tail 264# 0A 20 20 20 20 20 37 09 lf 7 ht 272# 08 08 08 08 08 08 08 08 bs bs bs bs bs bs bs bs 280# 08 20 20 20 20 20 20 20 bs 288# 20 32 0A 20 20 20 20 20 2 lf 296# 38 09 43 6F 6D 70 61 72 8 ht C o m p a r 304# 69 73 6F 6E 73 3A 20 20 i s o n s : 312# 20 20 20 20 20 20 20 20 320# 20 20 20 20 20 20 20 20 328# 20 20 20 20 20 20 20 20 336# 20 20 20 20 20 20 31 0A 1 lf ...in bytes 270-280 we see the '7' (put there by 'cat -n') was backspaced over nine times. Hope this helps... -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.38-2-686 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) Shell: /bin/sh linked to /bin/dash Versions of packages msort depends on: ii libc6 2.13-2 Embedded GNU C Library: Shared lib ii libicu44 4.4.2-2 International Components for Unico ii libtre5 0.8.0-2 regexp matching library with appro ii libuninum5 2.7-1+b1 library for handling numbers as Un msort recommends no packages. Versions of packages msort suggests: pn msort-gui <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org