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