* [PATCH] zshmisc(1): Document APPEND_CREATE under the append redirection operators, >> and >>!.
@ 2019-12-01 8:21 Daniel Shahaf
0 siblings, 0 replies; only message in thread
From: Daniel Shahaf @ 2019-12-01 8:21 UTC (permalink / raw)
To: zsh-workers
---
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-12-01 8:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-01 8:21 [PATCH] zshmisc(1): Document APPEND_CREATE under the append redirection operators, >> and >>! Daniel Shahaf
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).