![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Double Sort on a fileby PhiRatE (Monk) |
on Jul 22, 2002 at 22:13 UTC ( #184254=note: print w/replies, xml ) | Need Help?? |
sort can take multiple -k arguments. Try sort -n -r -k 5 -r -k 6 filein -o fileout (I seem to recall thats how it works, a quick test seems to agree).
Of course, there is a time in every datas life when it should really be loaded into a database instead..
In Section
Seekers of Perl Wisdom
|
|