sort broken when using more than one -k's
Thomas Sattler
tsattler at gmx.de
Fri Feb 16 01:26:03 UTC 2007
Hi there ...
Current busybox (1.4.1) seems to be broken in applet sort when more
than one -k's are used:
The example on http://www.busybox.net/downloads/BusyBox.html says
> $ echo -e "c 3\nb 2\nd 2" | sort -k 2,2n -k 1,1r
should result in
> d 2
> b 2
> c 3
which is what my (coreutils-6.4) sort does. busybox sort produces this:
> $ echo -e "c 3\nb 2\nd 2" | ./busybox sort -k 2,2n -k 1,1r
> d 2
> c 3
> b 2
Thomas Sattler
--
keep mailinglists in english, feel free to send PM in german
More information about the busybox
mailing list