do shell script "sort"?
do shell script "sort"?
- Subject: do shell script "sort"?
- From: Joseph Weaks <email@hidden>
- Date: Thu, 22 May 2003 01:20:49 -0500
I have tried the variations I can think of to use the sort unix utility
with the do shell script command. I'm guessing that it's not possible. It
sure would be a handy to sort a string of lines on the fly. I'm new at all
this unix stuff as it is. Any ideas?
Here's one version of the random gibberish I've tried:
set MyText to ("b" & (ASCII character 10) & "c" & (ASCII character 10) &
"a" & (ASCII character 10) & (ASCII character 4))
set ShellCommand to "sort; echo " & MyText
set theResult to do shell script ShellCommand
Thanks,
Joe Weaks
_______________________________________________
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.
References: | |
| >Re: Repeat (From: Ben Waldie <email@hidden>) |