diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-08-25 14:41:02 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-08-25 14:41:02 +0000 |
commit | 6fc030bbf948f924fe7fcbb700b282abd1872a96 (patch) | |
tree | 8dde0663763fdfc290a1f32af4c359b6b3c1098b /Doc/Zsh | |
parent | 85e7a6af99b5c83754949ea3a89b493e7ed95c27 (diff) | |
download | zsh-6fc030bbf948f924fe7fcbb700b282abd1872a96.tar.gz zsh-6fc030bbf948f924fe7fcbb700b282abd1872a96.tar.xz zsh-6fc030bbf948f924fe7fcbb700b282abd1872a96.zip |
zsh-workers/7482
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/expn.yo | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo index 92a3bdcf2..4d1472857 100644 --- a/Doc/Zsh/expn.yo +++ b/Doc/Zsh/expn.yo @@ -1378,6 +1378,24 @@ the owner and the other members of the group have at least write permission, and for which other users don't have read or execute permission. ) +item(tt(F)var(name)[var(args)...])( +The shell function var(name) will be called with the generated +filename as its first argument and the return value determines if the +filename should be included in the list (if it is zero) or not (if it +is non-zero). The first character after the `tt(F)' will be used as a +separator and anything up to the next matching separator will be taken +as the name of the function (`tt([)', `tt({)', and `tt(<)' match +`tt(])', `tt(})', and `tt(>)' respectively, any other character +matches itself). Arguments may be given inside consecutive pairs of +the same separator(s). These strings will be given literally to the +shell function as the second to last argument. + +If the function sets the parameter tt(reply) to an array or to a +string or if it sets the parameter tt(REPLY) to a string, then these +strings will be inserted into the generated list instead of the +original string. For security reasons, these parameters will be unset +by the shell before the function is called. +) item(tt(d)var(dev))( files on the device var(dev) ) |