Re: sort
Re: sort
- Subject: Re: sort
- From: John Delacour <email@hidden>
- Date: Sat, 6 Sep 2003 16:52:46 +0100
- Mac-eudora-version: 6.1a2
At 3:11 pm +0200 6/9/03, Sascha Kuehn wrote:
hi list,
i'm looking for a script to sort a list or an free osax for os x
which can sort a list.
First do this to see the wealth of possibilities:
do shell script "perldoc sort"
set s to "one
two
three
four
five"
do shell script "perl -e '
@list = split /[\\n\\r]/, qq~" & s & "~;
for (sort @list) {print qq~$_$/~} '"
"five
four
one
three
two"
JD
.
_______________________________________________
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: | |
| >sort (From: Sascha Kuehn <email@hidden>) |