in reply to Sorting a text file
sort -nk2 file.txt
Update: It turns out that MS-DOS also has a sort command (I never knew that!). So on a winders system, the following from a command prompt:
(Assumes spaces between the 1st and 2nd fields, rather than tabs)sort /+10 file.txt
Cheers,
Darren :)
|
|---|