summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2017-07-20 18:59:01 +0100
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2017-07-20 18:59:01 +0100
commit1d0f2a5e7b0624a0c04b018f0ce64c060962f3ba (patch)
treec7d09d018725fd8528a96f25d73babf62c003b84 /Doc/Zsh
parentd2b98fba46888e39f4414a21e1498b368fc133c3 (diff)
downloadzsh-1d0f2a5e7b0624a0c04b018f0ce64c060962f3ba.tar.gz
zsh-1d0f2a5e7b0624a0c04b018f0ce64c060962f3ba.tar.xz
zsh-1d0f2a5e7b0624a0c04b018f0ce64c060962f3ba.zip
Further clarification about processing of expansions
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/expn.yo9
1 files changed, 6 insertions, 3 deletions
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo
index c45f83a3e..a61738f84 100644
--- a/Doc/Zsh/expn.yo
+++ b/Doc/Zsh/expn.yo
@@ -21,9 +21,12 @@ xitem(em(Parameter Expansion))
 xitem(em(Command Substitution))
 xitem(em(Arithmetic Expansion))
 item(em(Brace Expansion))(
-These five are performed in one step in left-to-right fashion.  After
-these expansions, all unquoted occurrences of the characters `tt(\)',
-`tt(')' and `tt(")' are removed.
+These five are performed in left-to-right fashion.  On each argument,
+any of the five steps that are needed are performed one after the other.
+Hence, for example, all the parts of parameter expansion are completed
+before command substitution is started.  After these expansions, all
+unquoted occurrences of the characters `tt(\)',`tt(')' and `tt(")' are
+removed.
 )
 item(em(Filename Expansion))(
 If the tt(SH_FILE_EXPANSION) option is set, the order of expansion is