sort
From: Boon Chong Ang (BCANG_at_altera.com)
Date: 01/30/04
- Next message: Randy W. Sims: "Re: function that reads line numbers?"
- Previous message: Dan Muey: "RE: New Perl User needs help with POST in perl"
- Next in thread: Rob Hanson: "RE: sort"
- Maybe reply: Rob Hanson: "RE: sort"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Jan 2004 08:37:41 +0800 To: <beginners@perl.org>
Hi,
I want to write a perl script to do something like this
Abc 12.8 8 "left" 1 15.7
Def 13.8 9 "top" 0 19.7
gef 14.8 9 "left" 0 19.7
Dgf 12.3 9 "right" 4 99.6
cef 16.8 4 "right" 0 89.7
baf 32.8 7 "bottom" 5 79.8
efg 16.8 5 "right" 0 56.7
etg 12.8 2 "left" 7 34.7
Just say I want to sort the row based on the value on fifth or third column, any advice how to do so?
Thank you & best regards,
ABC
- Next message: Randy W. Sims: "Re: function that reads line numbers?"
- Previous message: Dan Muey: "RE: New Perl User needs help with POST in perl"
- Next in thread: Rob Hanson: "RE: sort"
- Maybe reply: Rob Hanson: "RE: sort"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|