sort

From: Boon Chong Ang (BCANG_at_altera.com)
Date: 01/30/04


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

 



Relevant Pages

  • Re: coding questions
    ... You may want to learn a scripting language. ... You might be able to handle deleting that sort of thing with a perl script, ... I know that in Gumband, you get 50% xp from monsters that your pets ...
    (rec.games.roguelike.angband)
  • Re: chester aftersales service
    ... I`ve had a nice email from Chesters and they are going to sort ... Best regards ... Stuff like the Adept lathes or some like the AA lathes from the US. ...
    (uk.rec.models.engineering)
  • Re: Excel: Remove characters from cells using wildcards
    ... set of brackets and its contents. ... ABC Far North (Queensland) 0630 ... I tried it and it sort of worked - sort - ...
    (microsoft.public.excel)
  • Re: New Elliott Randall CD (EP) ...and GUITAR DAY at my place
    ... Thanks you for the compliments! ... next couple of months - cover art is ready, ... Lotsa research as this is a Brave New World as regards this crazy ... what I sort of expected, very tasteful, funky,still got a sort of ...
    (uk.music.guitar)
  • Re: Treeview Node Type
    ... I've done this sort of thing a variety of ways. ... and less troublesome in regards to managing parent object references ... of type group nodes that want to different things to. ... Regards, Chris. ...
    (microsoft.public.dotnet.framework.aspnet)