in reply to sorting arrays...
$ perl -e 'system q !sort -k 2 -t "|" -o file file!'
or without perl:
$ sort -k 2 -t "|" -o file file
which will even do the "right thing" if the file is huge.
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: sorting arrays...
by dws (Chancellor) on Jul 12, 2003 at 23:54 UTC | |
by Abigail-II (Bishop) on Jul 13, 2003 at 00:24 UTC | |
by demerphq (Chancellor) on Jul 13, 2003 at 01:25 UTC |