![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re: Ordering data in a file.by hippo (Abbot) |
on Jun 13, 2013 at 08:47 UTC ( #1038709=note: print w/replies, xml ) | Need Help?? |
As an old awk head I would first reach for this simple perl-based approach:
Note that this uses a lexical sort which somewhat coincidentally works for the given data set. If your actual data set is more varied you will probably need to use a different sorting block.
In Section
Seekers of Perl Wisdom
|
|