From 73a4362713b8fb624ec70a5d86d4e5d87fba2b7b Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Fri, 22 Feb 2002 17:28:04 +0000 Subject: 16620, 16697: add a and n parameter expansion flags --- Doc/Zsh/expn.yo | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Doc') diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo index 3d40da10b..c01e5ce3e 100644 --- a/Doc/Zsh/expn.yo +++ b/Doc/Zsh/expn.yo @@ -620,6 +620,11 @@ arrays; the var(word) part em(must) be converted to an array, for example by using `tt(${(AA)=)var(name)tt(=)...tt(})' to activate field splitting, when creating an associative array. ) +item(tt(a))( +With tt(o) or tt(O), sort in array index order. Note that `tt(oa)' is +therefore equivalent to the default but `tt(Oa)' is useful for +obtaining an array's elements in reverse order. +) item(tt(c))( With tt(${#)var(name)tt(}), count the total number of characters in an array, as if the elements were concatenated with spaces between them. @@ -655,6 +660,9 @@ this flag may not be combined with subscript ranges. item(tt(L))( Convert all letters in the result to lower case. ) +item(tt(n))( +With tt(o) or tt(O), sort numerically. +) item(tt(o))( Sort the resulting words in ascending order. ) -- cgit 1.4.1