in reply to File Sorting Rephrased
sort numerically, reversed, on the third key, write into outfile.sort -n -r -k 3 file -o outfile
my @args = qw/ sort -n -r -k 3 file -o outfile /; system( @args ) == 0 or die "something went wrong with: @args: $?\n";
|
|---|