From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11908 invoked from network); 22 Dec 1999 13:28:49 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 22 Dec 1999 13:28:49 -0000 Received: (qmail 28577 invoked by alias); 22 Dec 1999 13:28:16 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2798 Received: (qmail 28570 invoked from network); 22 Dec 1999 13:28:02 -0000 Date: Wed, 22 Dec 1999 14:24:33 +0100 From: =?iso-8859-1?Q?Thomas_K=F6hler?= To: zsh-users@sunsite.auc.dk Subject: Re: rm -r Message-ID: <19991222142433.A9125@picard.franken.de> References: <385E4BD6.7835A11@kom.auc.dk> <19991222013128.B2262@bozar.ihug.com.au> <19991222105856.A2667@picard.franken.de> <7dhfhbt8zt.fsf@greyc.ismra.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.1i In-Reply-To: <7dhfhbt8zt.fsf@greyc.ismra.fr>; from alexandre.duret@greyc.ismra.fr on Wed, Dec 22, 1999 at 01:12:22PM +0000 X-Operating-System: Linux picard 2.2.13 X-Editor: VIM - Vi IMproved 5.6a BETA http://www.vim.org/ X-IRC: tirc-1.2; Nick: jeanluc X-URL: http://home.pages.de/~jeanluc/ On Wed, Dec 22, 1999 at 01:12:22PM +0000, Alexandre Duret-Lutz wrote: >=20 > >>> "TK" =3D=3D Thomas K=F6hler writes: >=20 > TK> On Tue, Dec 21, 1999 at 07:52:29PM +0100, > TK> fg wrote: >=20 > [...] >=20 > >> BTW, whats the argument limit for zsh? >=20 > This limit is not set by zsh but by the underlying libraries/OS. > Moreover (correct me if I'm wrong) it is usualy set in term of a limit > on the size of the environnement plus the size of the parameters (not > realy the number of these). Ah. Now I understand this much better. > [...] >=20 > TK> zsh: argument list too long: /bin/echo >=20 > This a standard message printed from `strerror(E2BIG)' after > `execve(...)' returned the error `E2BIG' to zsh. In other words, > that's the C library speaking to you through zsh.=20 Yes, makes sense. > TK> Ah, the limit is at 32766 arguments. (On Linux-i386) >=20 > Well, for *you* and with this particular case of arguments list! Right. Using different parameters, the limit (in "number-of-arguments-allowed") was smaller. > TK> Here's the few situations where I need find again... :) >=20 > Since `echo' is builtin (therefore not exec'ed), you may want to do >=20 > echo PATTERN | xargs COMMAND >=20 > when `COMMAND PATTERN' don't work. Cool idea. *very* cool. Perhaps I should even build a cool preexec() that handles this? Perhaps some time in the future... > Alexandre Duret-Lutz Thanks, Thomas --=20 Thomas K=F6hler Email: jean-luc@picard.franken.de | LCARS - Linux for <>< WWW: http://home.pages.de/~jeanluc/ | Computers on All IRC: jeanluc | Real Starships PGP public key: http://www.mayn.de/users/jean-luc/PGP-Public.asc