From bcdad28d3e03f3e70a5f3d6b414b9d08f651c65a Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 18 Mar 2005 11:22:08 +0000 Subject: users/8609: document order of more parameter expansion flags --- Doc/Zsh/expn.yo | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'Doc') diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo index 3c3297562..9de4ea379 100644 --- a/Doc/Zsh/expn.yo +++ b/Doc/Zsh/expn.yo @@ -973,16 +973,24 @@ quoted and the option tt(SH_WORD_SPLIT) is set, the word is split on occurrences of any of the characters in tt($IFS). Note this step, too, takes place at all levels of a nested substitution. ) -item(tt(10.) em(Re-Evaluation))( +item(tt(10.) em(Uniqueness))( +If the result is an array and the `tt((u))' flag was present, duplicate +elements are removed from the array. +) +item(tt(11.) em(Ordering))( +If the result is still an array and one of the `tt((o))' or `tt((O))' flags +was present, the array is reordered. +) +item(tt(12.) em(Re-Evaluation))( Any `tt((e))' flag is applied to the value, forcing it to be re-examined for new parameter substitutions, but also for command and arithmetic substitutions. ) -item(tt(11.) em(Padding))( +item(tt(13.) em(Padding))( Any padding of the value by the `tt(LPAR()l.)var(fill)tt(.RPAR())' or `tt(LPAR()r.)var(fill)tt(.RPAR())' flags is applied. ) -item(tt(12.) em(Semantic Joining))( +item(tt(14.) em(Semantic Joining))( In contexts where expansion semantics requires a single word to result, all words are rejoined with the first character of tt(IFS) between. So in `tt(${LPAR()P)tt(RPAR()${LPAR()f)tt(RPAR()lines}})' -- cgit 1.4.1