Bill Peeler <[EMAIL PROTECTED]> wrote: > there appears to be a bug in the sort program. > sort (GNU textutils) 2.0a ... > sort -t , tiny_in -k 2nbd,2nbd -k 3nbd,3nbd -k 4nbd,4nbd -k 5nbd,5nbd > > i ran it and got the following output: ... > input file: > 3,20020109184710,30,2405,94,test > 3,20020109232651,1,2430,14,test ... > output: > 3,20020109232651,1,2430,14,test > 3,20020109184710,30,2405,94,test
Hi Bill, Thanks for the report. 2.0a is pretty old. Using the latest version, your example works just fine. ftp://alpha.gnu.org/gnu/fetish/textutils-2.0.19.tar.gz BTW, `b' is the only option for which applying it to both the starting and ending parts of a key specifier makes sense. For all of the others it's ok, but redundant. _______________________________________________ Bug-textutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-textutils