From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3206 invoked from network); 27 Oct 1998 01:31:17 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 27 Oct 1998 01:31:17 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id UAA26631; Mon, 26 Oct 1998 20:22:14 -0500 (EST) Resent-Date: Mon, 26 Oct 1998 20:22:14 -0500 (EST) From: Zoltan Hidvegi Message-Id: <199810270125.TAA18613@hzoli.home> Subject: Re: Docs fix In-Reply-To: <981026155319.ZM11570@candle.brasslantern.com> from Bart Schaefer at "Oct 26, 98 03:53:19 pm" To: zsh-workers@math.gatech.edu (Zsh hacking and development) Date: Mon, 26 Oct 1998 19:25:56 -0600 (CST) Reply-To: hzoli@frontiernet.net X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"JfZbL2.0._V6.61IDs"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4452 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu > > The first one is just some stuff for the FAQ about $* vs "$@" > > The FAQ was correct without this patch. $* and "$@" are equivalent in > zsh, unless you run it under Bourne sh or ksh emulation (i.e. with the > SH_WORD_SPLIT option set). Not exactly. "$@" keeps empty arguments and independent of option and IFS settings, neither of which is true for $*. It's good habbit to use "$@". The use of $* is almost always wrong in bourne/korn shell scripts still people use that all the time. Zoli