From 3acc9f80efa7bf4a65b5efdb3c5d9f5ef25d3c22 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 5 Apr 2000 19:28:07 +0000 Subject: Patches 10513, 10516 (Alexandre), 10519 (Oliver), 10524 --- Doc/Zsh/compsys.yo | 2 +- Doc/Zsh/expn.yo | 23 ++++++++++++++--------- 2 files changed, 15 insertions(+), 10 deletions(-) (limited to 'Doc') diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index 035a98e0d..e8eada391 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -2794,7 +2794,7 @@ are taken from the array parameter tt(expl) which will be set up before executing the var(action) and hence may be used in it (normally in an expansion like `tt($expl[@])'). -If the var(action) starts with `tt(= )' (a equal sign followed by a +If the var(action) starts with `tt(= )' (an equals sign followed by a space), tt(_arguments) will insert the contents of the var(argument) field of the current context as the new first element in the tt(words) special array and increments the value of the tt(CURRENT) special diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo index 7198df703..9d2f035c8 100644 --- a/Doc/Zsh/expn.yo +++ b/Doc/Zsh/expn.yo @@ -1619,19 +1619,24 @@ pindex(NUMERIC_GLOB_SORT, setting in pattern) ) item(tt(o)var(c))( specifies how the names of the files should be sorted. If var(c) is -tt(n) they are sorted by name (the default), if it is tt(L) they -are sorted depending on the size (length) of the files, if tt(l) -they are sorted by the number of links, and if tt(a), tt(m), and tt(c) +tt(n) they are sorted by name (the default); if it is tt(L) they +are sorted depending on the size (length) of the files; if tt(l) +they are sorted by the number of links; if tt(a), tt(m), or tt(c) they are sorted by the time of the last access, modification, or -inode change respectively. Note that tt(a), tt(m), and tt(c) compare -the age against the current time, hence the first name in the list is the -the youngest file. Also note that the modifiers tt(^) and tt(-) are -used, so `tt(*(^-oL))' gives a list of all files sorted by file size in -descending order, following any symbolic links. +inode change respectively; if var(d), files in subdirectories appear before +those in the current directory at each level of the search --- this is best +combined with other criteria, for example `tt(odon)' to sort on names for +files within the same directory. Note that tt(a), tt(m), and tt(c) compare +the age against the current time, hence the first name in the list is the +the youngest file. Also note that the modifiers tt(^) and tt(-) are used, +so `tt(*(^-oL))' gives a list of all files sorted by file size in descending +order, following any symbolic links. ) item(tt(O)var(c))( like `tt(o)', but sorts in descending order; i.e. `tt(*(^oc))' is the -same as `tt(*(Oc))' and `tt(*(^Oc))' is the same as `tt(*(oc))' +same as `tt(*(Oc))' and `tt(*(^Oc))' is the same as `tt(*(oc))'; `tt(OD)' +puts files in the current directory before those in subdirectories at each +level of the search. ) item(tt([)var(beg)[tt(,)var(end)]tt(]))( specifies which of the matched filenames should be included in the -- cgit 1.4.1