Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Docs fix
- X-seq: zsh-workers 4454
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx (Zsh hacking and development)
- Subject: Re: Docs fix
- Date: Mon, 26 Oct 1998 18:27:17 -0800
- In-reply-to: <199810270125.TAA18613@xxxxxxxxxx>
- References: <199810270125.TAA18613@xxxxxxxxxx>
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 "$@".
Messages sorted by:
Reverse Date,
Date,
Thread,
Author