Re: Sorting IP addresses
Re: Sorting IP addresses
- Subject: Re: Sorting IP addresses
- From: Bill <email@hidden>
- Date: Sun, 21 Dec 2003 22:22:48 +0800
I changed it around a bit and this seems to work fine also:
sort -n -t '.' -k 1,1 -k 2,2 -k 3,3 -k 4,4 unsortedfile -o
sortedfile
Bravo :)
Any brief explanation now? I can't get the meaning of -k from the man
page & your example.
TIA
bill
PS: [OT] testing again b0 b7b5b2 b
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.