Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: simple question about &



Stefan Monnier wrote:
>I couldn't find anywhere in zsh-3.0.5 documentation whether '&!' is supposed to
>be the same or is supposed to be different from '&|'.  They always appear
>together, but it's never specified that one can be replaced by the other.
>Is there a difference ?  If no, why are both forms accepted ?

They are equivalent.  &! is the canonical form, but &| is more commonly
used, in order to avoid unwanted history expansion.

-zefram



Messages sorted by: Reverse Date, Date, Thread, Author