[ale] sort using perl

Cadet Hacker linux at cade.org
Tue Dec 18 10:18:42 EST 2001


Hello,
Does anybody know a quick and dirty way to sort by the third letter in a
string using perl or korn, so if the list is

xxb234
xxc123
xxa291

it will come out

xxa291
xxb234
xxc123


The third letter will always be a letter. TIA! basically the third letter
is the first letter of the last name, hense the sort rule. Thanks

-- 
--cade
=========================
On Linux vs Windows --
Remember amateurs built the ark - professionals built the Titanic
=========================


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list