Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: number of arguments zargs use



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