From 35a8612f217f25a37caaed08b31be754cfe584b1 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 13 Nov 2008 21:18:14 +0000 Subject: 26042 with some fixes from 26043 (Mikael): allow <(...) and >(...) to occur in the middle of strings and =(...) to have extra text following --- Doc/Zsh/expn.yo | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'Doc') 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())' 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 -- cgit 1.4.1