summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-11-18 14:57:33 +0000
committerPeter Stephenson <pws@zsh.org>2015-11-18 14:58:43 +0000
commitf39ae235a261df353d85578c7bc760f91c4b763b (patch)
tree41ffbb7757c18692d5f11757035f8be0cc747276
parentafc4d416524f186e3bdb01c512b7c7795eb5572b (diff)
downloadzsh-f39ae235a261df353d85578c7bc760f91c4b763b.tar.gz
zsh-f39ae235a261df353d85578c7bc760f91c4b763b.tar.xz
zsh-f39ae235a261df353d85578c7bc760f91c4b763b.zip
37140: note that <<(...) is < <(...)
-rw-r--r--ChangeLog4
-rw-r--r--Doc/Zsh/expn.yo6
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 14e5783c2..86de73a25 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-11-18  Peter Stephenson  <p.stephenson@samsung.com>
+
+	* 37140: Doc/Zsh/expn.yo: note that <<(...) is < <(...).
+
 2015-11-17  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
 	* 37129: Completion/Unix/Command/_git: _git: Complete 'commit -p'
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo
index 123722e0f..564c70dd1 100644
--- a/Doc/Zsh/expn.yo
+++ b/Doc/Zsh/expn.yo
@@ -410,6 +410,12 @@ are only expanded when first parsing command or assignment arguments.
 Process substitutions may be used following redirection operators; in this
 case, the substitution must appear with no trailing string.
 
+Note that `tt(<<LPAR())var(list)tt(RPAR())' is not a special syntax; it
+is equivalent to `tt(< <LPAR())var(list)tt(RPAR())', redirecting
+standard input from the result of process substitution.  Hence all
+the following documentation applies.  The second form (with the space)
+is recommended for clarity.
+
 In the case of the tt(<) or tt(>) forms, the shell runs the commands in
 var(list) as a subprocess of the job executing the shell command line.
 If the system supports the tt(/dev/fd)