mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-12-28 16:15:02 +01:00
52915: be explicit about pattern syntax in conditions
This commit is contained in:
parent
a66e929185
commit
acdcf9d854
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2024-05-08 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* 52915: Doc/Zsh/cond.yo: be explicit about behaviour of globbing
|
||||
patterns within conditions.
|
||||
|
||||
2024-04-07 Mikael Magnusson <mikachu@gmail.com>
|
||||
|
||||
* 52878: Src/subst.c: Fix ${foo:^bar} where bar is an associative
|
||||
|
|
|
@ -241,7 +241,11 @@ ifnzman(\
|
|||
noderef(Filename Generation)\
|
||||
)\
|
||||
, but there is no special behaviour
|
||||
of `tt(/)' nor initial dots, and no glob qualifiers are allowed.
|
||||
of `tt(/)' nor initial dot, and the patterns `tt(**/)' and `tt(***/)' behave
|
||||
the same as `tt(*/)', in which the `tt(*)' has its standard behaviour
|
||||
but may also match further `tt(/)' characters. Also, no bare glob
|
||||
qualifiers are allowed, though the form `((#q)var(...))' is allowed as
|
||||
shown above.
|
||||
|
||||
In each of the above expressions, if
|
||||
var(file) is of the form `tt(/dev/fd/)var(n)',
|
||||
|
|
Loading…
Reference in a new issue