zsh-workers
 help / color / Atom feed
From: Daniel Shahaf <danielsh@apache.org>
To: zsh-workers@zsh.org
Subject: [PATCH] zshmisc(1): Document APPEND_CREATE under the append redirection operators, >> and >>!.
Date: Sun,  1 Dec 2019 08:21:54 +0000
Message-ID: <20191201082154.6529-1-danielsh@apache.org> (raw)

---
 Doc/Zsh/redirect.yo | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Doc/Zsh/redirect.yo b/Doc/Zsh/redirect.yo
index 13496d8d3..2b48974b4 100644
--- a/Doc/Zsh/redirect.yo
+++ b/Doc/Zsh/redirect.yo
@@ -42,18 +42,18 @@ otherwise, it is truncated to zero length.
 xitem(tt(>|) var(word))
 item(tt(>!) var(word))(
 Same as tt(>), except that the file is truncated to zero length
-if it exists, even if tt(CLOBBER) is unset.
+if it exists, regardless of tt(CLOBBER).
 )
 item(tt(>>) var(word))(
 Open file var(word) for writing in append mode as standard output.
-If the file does not exist, and the tt(CLOBBER)
-option is unset, this causes an error;
+If the file does not exist, and the tt(CLOBBER) and tt(APPEND_CREATE)
+options are both unset, this causes an error;
 otherwise, the file is created.
 )
 xitem(tt(>>|) var(word))
 item(tt(>>!) var(word))(
 Same as tt(>>), except that the file is created if it does not
-exist, even if tt(CLOBBER) is unset.
+exist, regardless of tt(CLOBBER) and tt(APPEND_CREATE).
 )
 item(tt(<<)[tt(-)] var(word))(
 The shell input is read up to a line that is the same as

                 reply index

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

Reply instructions:

You may reply publically 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=20191201082154.6529-1-danielsh@apache.org \
    --to=danielsh@apache.org \
    --cc=zsh-workers@zsh.org \
    /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

zsh-workers

Archives are clonable: git clone --mirror http://inbox.vuxu.org/zsh-workers

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.zsh.workers


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git