zsh-users
 help / color / mirror / code / Atom feed
From: "Thomas Köhler" <jean-luc@picard.franken.de>
To: zsh-users@sunsite.auc.dk
Subject: Re: rm -r
Date: Wed, 22 Dec 1999 14:24:33 +0100	[thread overview]
Message-ID: <19991222142433.A9125@picard.franken.de> (raw)
In-Reply-To: <7dhfhbt8zt.fsf@greyc.ismra.fr>; from alexandre.duret@greyc.ismra.fr on Wed, Dec 22, 1999 at 01:12:22PM +0000

On Wed, Dec 22, 1999 at 01:12:22PM +0000,
Alexandre Duret-Lutz <alexandre.duret@greyc.ismra.fr> wrote:
> 
> >>> "TK" == Thomas Köhler <jean-luc@picard.franken.de> writes:
> 
>  TK> On Tue, Dec 21, 1999 at 07:52:29PM +0100,
>  TK> fg <francis@mandrakesoft.com> wrote:
> 
> [...]
> 
>  >> BTW, whats the argument limit for zsh?
> 
> 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.

> [...]
> 
>  TK> zsh: argument list too long: /bin/echo
> 
> 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. 

Yes, makes sense.

>  TK> Ah, the limit is at 32766 arguments. (On Linux-i386)
> 
> 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... :)
> 
> Since `echo' is builtin (therefore not exec'ed), you may want to do
> 
> echo PATTERN | xargs COMMAND
> 
> 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

-- 
 Thomas Köhler 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


  reply	other threads:[~1999-12-22 13:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-20 15:31 Claus Alboege
1999-12-20 15:41 ` Vincent Lefevre
1999-12-20 15:43 ` Clint Adams
1999-12-20 16:13 ` Pascal Byrne
1999-12-20 16:28 ` fg
1999-12-21 14:31   ` Andre Pang
1999-12-21 18:52     ` fg
1999-12-22  3:51       ` Andre Pang
1999-12-22  9:58       ` Thomas Köhler
1999-12-22 13:12         ` Alexandre Duret-Lutz
1999-12-22 13:24           ` Thomas Köhler [this message]
1999-12-23  0:15           ` Geoff Wing

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19991222142433.A9125@picard.franken.de \
    --to=jean-luc@picard.franken.de \
    --cc=zsh-users@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).