zhangtw wrote: > i have found a bug of sort (GNU coreutils 6.10 in ubuntu
Well, you probably haven't actually found a bug. You might have. But historical data predicts that you haven't. :-) > (ubuntu 2.6.27-11-generic), That is your kernel version. It looks like you are running a Linux kernel version 2.6.27. However the system kernel version doesn't have very much to do with sort. To get your sort version please ask sort what version it is. sort --version > i can't use sort +n ,it can't work. I don't know what you expect sort +n to do here. Did you mean 'sort -n'? > it means i just can sort in all field without sort by a or some > field which i use . is this a bug ? i can't find a solution to this > !! but in sort (coreutils) 5.2.1,it can work well ,i don't why ? can > you help me with this problem !! thank you !! Stop! Slow down. Breath. You haven't described a problem yet. Tell us *exactly* what commands you are running along with exactly what input is going in and what output is coming out. Please keep the test case small. We can't work with mail containing megabytes of data. Therefore reducing your problem to a very, very, very small test case is important. Reduce your sort problem to something very small that illustrates your problem. Something like this example: $ printf "42 uvw\n42 abc\n27 xyz\n" | sort -k 1,1n -k 2,2 27 xyz 42 abc 42 uvw Bob _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
