• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Sorting IP addresses
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Sorting IP addresses
      • From: Graff <email@hidden>
References: 
 >Re: Sorting IP addresses (From: Bill <email@hidden>)
 >Re: Sorting IP addresses (From: Emmanuel <email@hidden>)
 >Re: Sorting IP addresses (From: Deivy Petrescu <email@hidden>)
 >Re: Sorting IP addresses (From: Graff <email@hidden>)

  • Prev by Date: Re: Help! Need an AppleScript in a hurry! (Create text files based on file names)
  • Next by Date: Write to file
  • Previous by thread: Re: Sorting IP addresses
  • Next by thread: Re: Sorting IP addresses
  • Index(es):
    • Date
    • Thread