From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3669 invoked from network); 27 Oct 1998 02:30:09 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 27 Oct 1998 02:30:09 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id VAA28603; Mon, 26 Oct 1998 21:23:38 -0500 (EST) Resent-Date: Mon, 26 Oct 1998 21:23:38 -0500 (EST) From: "Bart Schaefer" Message-Id: <981026182717.ZM12068@candle.brasslantern.com> Date: Mon, 26 Oct 1998 18:27:17 -0800 In-Reply-To: <199810270125.TAA18613@hzoli.home> Comments: In reply to Zoltan Hidvegi "Re: Docs fix" (Oct 26, 7:25pm) References: <199810270125.TAA18613@hzoli.home> X-Mailer: Z-Mail Lite (5.0.0 30July97) To: zsh-workers@math.gatech.edu (Zsh hacking and development) Subject: Re: Docs fix MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"2O6fz2.0.p-6.gwIDs"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4454 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Oct 26, 7:25pm, Zoltan Hidvegi wrote: > Subject: Re: Docs fix > > > 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 $*. Yes, but as I was just explaining privately to Phil, the context of his change is "what zsh construct is most like using \!* in csh aliases?" The best answer is $*, because you have to use \!*:q to get "$@" behavior in csh. An argument could be made that $==* is even better, but not "$@".