From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.5 required=5.0 tests=FROM_FMBLA_NEWDOM, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=no autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 6e3c7599 for ; Sun, 1 Dec 2019 08:22:44 +0000 (UTC) Received: (qmail 12987 invoked by alias); 1 Dec 2019 08:22:36 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 44964 Received: (qmail 14536 invoked by uid 1010); 1 Dec 2019 08:22:36 -0000 X-Qmail-Scanner-Diagnostics: from out1-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.0/25642. spamassassin: 3.4.2. Clear:RC:0(66.111.4.25):SA:0(-0.4/5.0):. Processed in 2.286858 secs); 01 Dec 2019 08:22:36 -0000 X-Envelope-From: danielsh@apache.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: softfail (ns1.primenet.com.au: transitioning SPF record at amazonses.com does not designate 66.111.4.25 as permitted sender) X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudejvddguddujecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecuogfggedutddqvdejucdlgedtmdenucfjughrpe fhvffufffkofestddtredtredttdenucfhrhhomhepffgrnhhivghlucfuhhgrhhgrfhcu oegurghnihgvlhhshhesrghprggthhgvrdhorhhgqeenucfkphepjeelrddukedtrdehje drudduleenucfrrghrrghmpehmrghilhhfrhhomhepuggrnhhivghlshhhsegrphgrtghh vgdrohhrghenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: From: Daniel Shahaf 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> X-Mailer: git-send-email 2.11.0 --- 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