1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 10:21:46 +02:00

users/14891: say that condition arguments don't do globbing

This commit is contained in:
Peter Stephenson 2010-02-26 11:06:27 +00:00
parent a3b971a27e
commit ecc7dc91f6
2 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2010-02-26 Peter Stephenson <pws@csr.com>
* users/14891: Doc/Zsh/cond.yo: say explicitly that condition
arguments don't undergo file generation.
2010-02-25 Peter Stephenson <pws@csr.com>
* 27755: Doc/Zsh/mod_system.yo, Src/Modules/system.c:
@ -12824,5 +12829,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.4915 $
* $Revision: 1.4916 $
*****************************************************

View file

@ -183,9 +183,10 @@ enditem()
Normal shell expansion is performed on the var(file), var(string) and
var(pattern) arguments, but the result of each expansion is constrained to
be a single word, similar to the effect of double quotes. However, pattern
metacharacters are active for the var(pattern) arguments; the patterns
are the same as those used for filename generation, see
be a single word, similar to the effect of double quotes.
File generation is not performed on any form of argument to conditions.
However, pattern metacharacters are active for the var(pattern) arguments;
the patterns are the same as those used for filename generation, see
ifzman(\
zmanref(zshexpn)\
)\