Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: number of arguments zargs use
- X-seq: zsh-workers 20540
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: number of arguments zargs use
- Date: Wed, 3 Nov 2004 17:32:28 -0800 (PST)
- In-reply-to: <Pine.LNX.4.61.0410302124550.21138@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <DE201C1C-2A7B-11D9-A1A8-000D93502E64@xxxxxxxxxxxxx> <Pine.LNX.4.61.0410302124550.21138@xxxxxxxxxxxxxxxxxx>
- Reply-to: zsh-workers@xxxxxxxxxx
On Sat, 30 Oct 2004, Bart Schaefer wrote:
> s=${${s##-(s|-max-chars(=|))}:-$(((s=$({command getconf ARG_MAX ||
> command sysctl -n kern.argmax || echo 0} 2>/dev/null))?
> (s-=${#$(builtin typeset +x)}+2048):20480))}
Just in case anyone tries this, there's a typo: +x should be -x.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author