2010-10-03 17:07:57 +02:00
|
|
|
# unquoted $v should be globbed:
|
|
|
|
v='*brace1.t*'; echo $v
|
|
|
|
|
|
|
|
# ...but not brace expanded:
|
|
|
|
v='*{b,b}race1.t*'; echo $v
|
|
|
|
|
2016-10-02 15:20:57 +02:00
|
|
|
# whereas direct braces are expanded:
|
2010-10-03 17:07:57 +02:00
|
|
|
echo *{b,b}race1.t*
|
|
|
|
|
|
|
|
echo Done: $?
|