From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by werple.net.au (8.7/8.7.1) with ESMTP id TAA24089 for ; Tue, 13 Feb 1996 19:03:39 +1100 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id CAA04607; Tue, 13 Feb 1996 02:32:40 -0500 (EST) Resent-Date: Tue, 13 Feb 1996 02:32:40 -0500 (EST) From: Geoff Wing Message-Id: <199602130732.SAA23081@werple.net.au> Subject: Re: zsh arg list too long To: zsh-workers@math.gatech.edu (zsh-list) Date: Tue, 13 Feb 1996 18:32:06 +1100 (EST) In-Reply-To: <199602121217.NAA09795@jagor.srce.hr> from "Hrvoje Niksic" at Feb 12, 96 01:17:20 pm X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"ru-S71.0.v71.Nw38n"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/763 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu jarausch@igpm.rwth-aachen.de (Helmut Jarausch) wrote: :Sorry, I could find it in the FAQs althoug it should be a common problem. :On my machine (SGI,IRIX6.1) I often get the error "zsh arg list too long". :Last time I only tried rm ~/.netscape-cache/* :and it failed because there were (only) 576 files (filename length 24) :Is this a general restrictions of my OS or is ZSH configurable to allow :longer parameter lists? Hrvoje.Niksic@public.srce.hr (Hrvoje Niksic) replied: :I noticed it too. It should not be OS restriction, since it works in other :shells. I am afraid it is a zsh bug. The limitation is imposed by the OS. You can usually find it in /usr/include/sys/syslimits.h as something like ARG_MAX (256Kb on my machine) According to POSIX: "The number of bytes available for the combined argument list and environment list is given by ARG_MAX macro in " Look through the /usr/include/**/*limit* files or try something like: % fgrep ARG_ /usr/include/**/*.h Zoltan mentioned that the builtin echo wasn't limited thus, so maybe you could do % echo ~/.netscape-cache/* | xargs rm or maybe this will work if there aren't too many % (cd ~/.netscape-cache; echo *) -- Mason [G.C.W] mason@werple.mira.net.au "Hurt...Agony...Pain...LOVE-IT"