diff options
author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2017-07-20 18:59:01 +0100 |
---|---|---|
committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2017-07-20 18:59:01 +0100 |
commit | 1d0f2a5e7b0624a0c04b018f0ce64c060962f3ba (patch) | |
tree | c7d09d018725fd8528a96f25d73babf62c003b84 | |
parent | d2b98fba46888e39f4414a21e1498b368fc133c3 (diff) | |
download | zsh-1d0f2a5e7b0624a0c04b018f0ce64c060962f3ba.tar.gz zsh-1d0f2a5e7b0624a0c04b018f0ce64c060962f3ba.tar.xz zsh-1d0f2a5e7b0624a0c04b018f0ce64c060962f3ba.zip |
Further clarification about processing of expansions
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Doc/Zsh/expn.yo | 9 |
2 files changed, 11 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog index 4a5b998ab..29e5fd982 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-07-20 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 41433: Doc/Zsh/expn.yo: Further clarification about expansion + processing. + 2017-07-17 Peter Stephenson <p.stephenson@samsung.com> * 41429: Doc/Zsh/expn.yo: Better documentation of how stages of 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 |