diff options
author | Daniel Shahaf <danielsh@apache.org> | 2019-12-01 08:21:54 +0000 |
---|---|---|
committer | Daniel Shahaf <danielsh@apache.org> | 2019-12-03 02:54:48 +0000 |
commit | 5b4a6dc7e080dc3007ceb32f7f9689c5c4c2cd13 (patch) | |
tree | 83bb4624ae58ac4c8f8c1384c7dfab7730e01e4c | |
parent | 3aa53d124893e2049f95e14af4b90aa81f17c381 (diff) | |
download | zsh-5b4a6dc7e080dc3007ceb32f7f9689c5c4c2cd13.tar.gz zsh-5b4a6dc7e080dc3007ceb32f7f9689c5c4c2cd13.tar.xz zsh-5b4a6dc7e080dc3007ceb32f7f9689c5c4c2cd13.zip |
44964: zshmisc(1): Document APPEND_CREATE under the append redirection operators, >> and >>!.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Doc/Zsh/redirect.yo | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog index 35674511c..b01f47f5f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2019-12-03 Daniel Shahaf <danielsh@apache.org> + + * 44964: Doc/Zsh/redirect.yo: zshmisc(1): Document APPEND_CREATE + under the append redirection operators, >> and >>!. + 2019-12-02 dana <dana@dana.is> * 44969: Etc/completion-style-guide: Mention defaults and 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 |