On Jan 13, 2008 11:03 PM, Matthew Wilcox <matthew@xxxxxx> wrote: > On Sun, Jan 13, 2008 at 10:50:19PM +0100, Paolo Ciarrocchi wrote: > > Looks like sort is only looking at the first digit. > > Try sort -n Yes cat /home/paolo/Desktop/checkpatch_output.txt |sort -n --key=2| tail -n 10 works like a charm. Thank you Matthew. Ciao, -- Paolo http://paolo.ciarrocchi.googlepages.com/ - To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html