• 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: "koenig.yvan" <email@hidden>
  • Date: Mon, 12 Nov 2012 20:23:35 +0100


Le 12/11/2012 à 19:01, Christopher Stone <email@hidden> a écrit :

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


Thanks.

I will put a Postit quite in front of me  to remind me this interesting feature.

Yvan KOENIG (VALLAURIS, France) lundi 12 novembre 2012 20:23:29


 _______________________________________________
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

References: 
 >sort lines in TextWrangler (From: "koenig.yvan" <email@hidden>)
 >Re: sort lines in TextWrangler (From: Christopher Stone <email@hidden>)

  • Prev by Date: Re: Out of Control Aliases?
  • Next by Date: Re: Out of Control Aliases?
  • Previous by thread: Re: sort lines in TextWrangler
  • Next by thread: Weird choose from list behaviour
  • Index(es):
    • Date
    • Thread