1
0
Fork 0
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:
Peter Stephenson 2010-04-20 21:16:21 +00:00
parent b230a690fa
commit 11440d17d1
3 changed files with 18 additions and 6 deletions

View file

@ -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 ${...}