about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-11-13 21:18:14 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-11-13 21:18:14 +0000
commit35a8612f217f25a37caaed08b31be754cfe584b1 (patch)
tree14c1dcc8b6ae7f732a3c969fef80e498153858ca /Doc
parentdcd26714bb85b7559ae5342ae95cc30f9a98ce8c (diff)
downloadzsh-35a8612f217f25a37caaed08b31be754cfe584b1.tar.gz
zsh-35a8612f217f25a37caaed08b31be754cfe584b1.tar.xz
zsh-35a8612f217f25a37caaed08b31be754cfe584b1.zip
26042 with some fixes from 26043 (Mikael):
allow <(...) and >(...) to occur in the middle of strings
and =(...) to have extra text following
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/expn.yo12
1 files changed, 9 insertions, 3 deletions
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo
index 5526ff3ea..2ab0d417e 100644
--- a/Doc/Zsh/expn.yo
+++ b/Doc/Zsh/expn.yo
@@ -353,12 +353,18 @@ texinode(Process Substitution)(Parameter Expansion)(History Expansion)(Expansion
 sect(Process Substitution)
 cindex(process substitution)
 cindex(substitution, process)
-Each command argument of the form
+Each part of a command argument that takes the form
 `tt(<LPAR())var(list)tt(RPAR())',
 `tt(>LPAR())var(list)tt(RPAR())' or
 `tt(=LPAR())var(list)tt(RPAR())'
-is subject to process substitution.
-In the case of the tt(<) or tt(>) forms, the shell runs process
+is subject to process substitution.  The expression may be preceeded
+or followed by other strings except that, to prevent clashes with
+commonly occurring strings and patterns, the last
+form must occur at the start of a command argument, and none of
+the forms may occur inside parentheses used for grouping of patterns or
+inside parameter substitutions.
+
+In the case of the tt(<) or tt(>) forms, the shell runs the commands in
 var(list) asynchronously.  If the system supports the tt(/dev/fd)
 mechanism, the command argument is the name of the device file
 corresponding to a file descriptor; otherwise, if the system supports named