in reply to Sorting within a file
Dos style:perl -e 'push @file,$_ while<>;print sort {$a <=> $b} @file' test.txt
Results:perl -e "push @file,$_ while<>;print sort {$a <=> $b} @file" test.txt
1 b005824 134 b005376 402 astamen 972 achin00 181847 azeleke 1260896 abadeno
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Sorting within a file
by RazorbladeBidet (Friar) on Mar 04, 2005 at 20:56 UTC | |
by sh1tn (Priest) on Mar 04, 2005 at 21:00 UTC | |
|
Re^2: Sorting within a file
by dmorelli (Scribe) on Mar 04, 2005 at 21:01 UTC | |
|
Re^2: Sorting within a file
by Anonymous Monk on Mar 04, 2005 at 20:59 UTC | |
by sh1tn (Priest) on Mar 04, 2005 at 21:23 UTC | |
by DrHyde (Prior) on Mar 07, 2005 at 09:33 UTC |