Tech Support Guy banner
Status
Not open for further replies.
1 - 1 of 1 Posts

·
Registered
Joined
·
21,398 Posts
Using the file test.txt containing your data on Ubuntu 7.10 Gutsy Gibbon:

$ cat test.txt | sort -k2
will print out:
William Donald 960WaydrColoradoSpringsCO80920 DesertCamoBPProd77778 719-689-9980
Sven Ericsson 2953BeitstolenBeitstolenNorway BlackBPProd77721 +47-61-35-30-00
Diego Torres 2360SanteFeBuenosAiresArgentina BlackRedBPProd77722 +54-4000-6800
Mary Whitmore 1001StatonlnColoradoSpringsCO80920 BabyBlueBPProd77765 719-456-5000

-- Tom
 
1 - 1 of 1 Posts
Status
Not open for further replies.
Top