Just a note: It's always good to learn something new, so ++ for that. However, sometimes the sort utility is the *right* tool for the job. If you're sorting huge data files, it's usually better to use sort than perl. However, if you're going to modify the data during/after the sort and rewrite it, then using perl is frequently better.
...roboticus
In reply to Re: best way to sort
by roboticus
in thread best way to sort
by elwoodblues
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |