• 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: sort lines in TextWrangler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sort lines in TextWrangler


  • Subject: Re: sort lines in TextWrangler
  • From: Christopher Stone <email@hidden>
  • Date: Mon, 12 Nov 2012 12:01:01 -0600

On Nov 11, 2012, at 04:20, koenig.yvan <email@hidden> wrote:
I have a text file with about 90,000 lines so I assumed that it would be a good idea to use TextWrangler to sort the lines.
______________________________________________________________________

Hey Yvan,

It looks like this has been covered, so I'll just toss in the reminder that BBEdit and TextWrangler are probably the most recordable apps out there.

This is what was recorded when I tried it a minute ago:

tell application "TextWrangler"
sort lines text 1 of text document 1 sorting options {sort ignoring leading space:true, sorting numerically:true} output options {replacing target:true}
end tell

--
Best Regards,
Chris

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: sort lines in TextWrangler
      • From: "koenig.yvan" <email@hidden>
References: 
 >sort lines in TextWrangler (From: "koenig.yvan" <email@hidden>)

  • Prev by Date: Re: Script Speed
  • Next by Date: Re: Out of Control Aliases?
  • Previous by thread: Re: sort lines in TextWrangler
  • Next by thread: Re: sort lines in TextWrangler
  • Index(es):
    • Date
    • Thread