mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 04:30:24 +02:00
27889: Force more use of GLOB_SUBST in parameters if ~ is used
This commit is contained in:
parent
b230a690fa
commit
11440d17d1
3 changed files with 18 additions and 6 deletions
|
@ -226,10 +226,12 @@
|
|||
foo="boring*"
|
||||
print ${foo+$foo}
|
||||
print ${foo+"$foo"}
|
||||
print ${~foo+"$foo"}
|
||||
)
|
||||
0:globsubst together with nested quoted expansion
|
||||
>boringfile
|
||||
>boring*
|
||||
>boringfile
|
||||
|
||||
print -l "${$(print one word)}" "${=$(print two words)}"
|
||||
0:splitting of $(...) inside ${...}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue