Re: sort lines in TextWrangler
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