Re: RegExps in AS
Re: RegExps in AS
- Subject: Re: RegExps in AS
- From: Andrew Oliver <email@hidden>
- Date: Mon, 21 Feb 2005 16:23:28 -0800
On 2/21/05 2:25 PM, "Ihar 'Philips' Filipau" <email@hidden> wrote:
> P.S. And btw "do shell script" cannot pipeline, so it is rather
> useless. Running new instance of say perl for 1k of files is just
> insane. sed/awk will run faster - but still overall is slow. Silly,
> especially when all this *nix stuff is designed to be pipelined.
> Command line? - one might easily hit limit on command line length,
> which in BSDs (compared to GNU) is set quite low.
Pipelining aside (it's already been covered), I'd dread to see the 'do shell
script' command that exceeds the command line length since, According to
Apple:
<http://developer.apple.com/technotes/tn2002/tn2065.html#TNTAG6>
> Q: How long can my command be, really?
>
> A: Calling do shell script creates a new sh process, and is therefore subject
> to the system's normal limits on passing data to new processes: the arguments
> (in this case, the text of your command plus about 40 bytes of overhead) and
> any environment variables may not be larger than NCARGS, which is currently
> 65,536 bytes.
64K is a pretty meaty command line.
Andrew
:)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden