zsh-workers
 help / color / mirror / code / Atom feed
From: Zefram <zefram@fysh.org>
To: zsh-workers@sunsite.auc.dk
Subject: PATCH: >& documentation
Date: Sun, 10 Oct 1999 15:02:28 +0100 (BST)	[thread overview]
Message-ID: <E11aJYS-00051y-00@crucigera.fysh.org> (raw)

This patch corrects the documentation of >& to match the actual
behaviour, and adds entries to the documentation for all the related
append/clobber variants.  (Anything matching /(\&\>\>?|\>\>?\&)(\||\!|)/
is a valid stderr redirection operator.)  This should be applied on top
of Bart's 8184.

-zefram

diff -cr ../zsh-/Doc/Zsh/redirect.yo ./Doc/Zsh/redirect.yo
*** ../zsh-/Doc/Zsh/redirect.yo	Sun Oct 10 14:38:23 1999
--- ./Doc/Zsh/redirect.yo	Sun Oct 10 14:54:41 1999
***************
*** 92,102 ****
  )
  xitem(tt(>&) var(word))
  item(tt(&>) var(word))(
! Same as `tt(>) var(word) tt(2>&1)'.  Note that with tt(&>), var(word) is
! never interpreted as a file descriptor, even if it is a number.
  )
! item(tt(>>&) var(word))(
! Same as `tt(>>) var(word) tt(2>&1)'.
  )
  enditem()
  
--- 92,122 ----
  )
  xitem(tt(>&) var(word))
  item(tt(&>) var(word))(
! (Except where `tt(>&) var(word)' matches one of the above syntaxes;
! `tt(&>)' can always be used to avoid this ambiguity.)
! Redirects both standard output and standard error (file descriptor 2)
! in the manner of `tt(>) var(word)'.
! Note that this does em(not) have the same effect as `tt(>) var(word) tt(2>&1)'
! in the presence of multios (see the section below).
  )
! xitem(tt(>&|) var(word))
! xitem(tt(>&!) var(word))
! xitem(tt(&>|) var(word))
! item(tt(&>!) var(word))(
! Redirects both standard output and standard error (file descriptor 2)
! in the manner of `tt(>|) var(word)'.
! )
! xitem(tt(>>&) var(word))
! item(tt(&>>) var(word))(
! Redirects both standard output and standard error (file descriptor 2)
! in the manner of `tt(>>) var(word)'.
! )
! xitem(tt(>>&|) var(word))
! xitem(tt(>>&!) var(word))
! xitem(tt(&>>|) var(word))
! item(tt(&>>!) var(word))(
! Redirects both standard output and standard error (file descriptor 2)
! in the manner of `tt(>>|) var(word)'.
  )
  enditem()
  
END


                 reply	other threads:[~1999-10-10 14:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E11aJYS-00051y-00@crucigera.fysh.org \
    --to=zefram@fysh.org \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).