diff options
| author | Mikael Magnusson <mikachu@gmail.com> | 2022-03-08 19:34:20 +0100 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@gmail.com> | 2022-03-30 08:07:39 +0200 |
| commit | d7b8619396d806d390126c2abd1c3ce099fe7f59 (patch) | |
| tree | 69d35674d1901f992dc33187e6ce9a010908b863 /Doc | |
| parent | 49870: Fix NULL reference in match code more (diff) | |
| download | zsh-d7b8619396d806d390126c2abd1c3ce099fe7f59.tar zsh-d7b8619396d806d390126c2abd1c3ce099fe7f59.tar.gz zsh-d7b8619396d806d390126c2abd1c3ce099fe7f59.tar.bz2 zsh-d7b8619396d806d390126c2abd1c3ce099fe7f59.tar.lz zsh-d7b8619396d806d390126c2abd1c3ce099fe7f59.tar.xz zsh-d7b8619396d806d390126c2abd1c3ce099fe7f59.tar.zst zsh-d7b8619396d806d390126c2abd1c3ce099fe7f59.zip | |
49813: <<<: Document newline behavior and fix optimization
The =(<<<foo) optimization forgot to add a newline, but =(cat<<<foo)
always did, make the behavior consistent, and document it.
Diffstat (limited to 'Doc')
| -rw-r--r-- | Doc/Zsh/redirect.yo | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/Zsh/redirect.yo b/Doc/Zsh/redirect.yo index 2b48974b4..fd40ab5a4 100644 --- a/Doc/Zsh/redirect.yo +++ b/Doc/Zsh/redirect.yo @@ -86,7 +86,8 @@ item(tt(<<<) var(word))( Perform shell expansion on var(word) and pass the result to standard input. This is known as a em(here-string). Compare the use of var(word) in here-documents above, where var(word) -does not undergo shell expansion. +does not undergo shell expansion. The result will have a trailing newline +after it. ) xitem(tt(<&) var(number)) item(tt(>&) var(number))( |
