zsh-users
 help / color / mirror / code / Atom feed
* simple question about &
@ 1998-03-02 13:21 Stefan Monnier
  1998-03-02 13:43 ` Andrew Main
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Monnier @ 1998-03-02 13:21 UTC (permalink / raw)
  To: zsh-users


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 ?


	Stefan


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: simple question about &
  1998-03-02 13:21 simple question about & Stefan Monnier
@ 1998-03-02 13:43 ` Andrew Main
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Main @ 1998-03-02 13:43 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: zsh-users

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-03-02 14:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-03-02 13:21 simple question about & Stefan Monnier
1998-03-02 13:43 ` Andrew Main

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).