Re: sort with do Shell script
Re: sort with do Shell script
- Subject: Re: sort with do Shell script
- From: Yvan KOENIG <email@hidden>
- Date: Tue, 4 May 2010 21:38:21 +0200
Le 4 mai 2010 à 21:26, Yvan KOENIG a écrit : Hello
I'm running 10.4.11. I have a list of 12019 items for a total of 1,273,779 characters.
Is it normal that this handler
on sortClean_nList(unsortedList) set AppleScript's text item delimiters to (ASCII character 10) set sortedList to paragraphs of (do shell script "echo " & quoted form of (unsortedList as string) & "| sort -n -u") set AppleScript's text item delimiters to "" return sortedList end sortClean_nList
fails returning :
La commande s'est arrétée avec un état non nul
The command stopped with a non-null status.
Thanks in advance.
I tried with half the list (6135 items) and got the same error.
Yvan KOENIG (VALLAURIS, France) mardi 4 mai 2010 21:38:14
|
_______________________________________________
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