about summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2002-02-22 17:28:04 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2002-02-22 17:28:04 +0000
commit73a4362713b8fb624ec70a5d86d4e5d87fba2b7b (patch)
treede3a8e80a0823da8c1ce6313f0f5ba674184ff4f /Doc/Zsh
parente3b5e1356c601cf894b06311814060b66cb30f78 (diff)
downloadzsh-73a4362713b8fb624ec70a5d86d4e5d87fba2b7b.tar.gz
zsh-73a4362713b8fb624ec70a5d86d4e5d87fba2b7b.tar.xz
zsh-73a4362713b8fb624ec70a5d86d4e5d87fba2b7b.zip
16620, 16697: add a and n parameter expansion flags
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/expn.yo8
1 files changed, 8 insertions, 0 deletions
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.
 )