Re: Sorting IP addresses
Re: Sorting IP addresses
- Subject: Re: Sorting IP addresses
- From: Deivy Petrescu <email@hidden>
- Date: Sun, 21 Dec 2003 00:12:04 -0500
At 3:46 PM -0500 12/20/03, Graff wrote:
This will do it, it seems that you need to
assign a start and an end to the keys:
sort -n -t . -k 1,1n -k 2,2n -k 3,3n -k 4,4n
~/Desktop/unsortedIP.txt -o
~/Desktop/sortedIP.txt
- Ken
I tried that but did not get the right end of
fields for k. Actually, looking at them I would
not have guessed.
Thanks a lot
--
Regards
Saudagues
Deivy
http://www.dicas.com
_______________________________________________
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.