2008-02-10 17:40:08 +05:30
|
|
|
## TODO: fix and add to testsuite
|
|
|
|
|
|
|
|
## # bash zbad2
|
|
|
|
## ZVAR=z.map
|
|
|
|
## *.map
|
|
|
|
## # hush zbad2
|
|
|
|
## ZVAR=z.map
|
|
|
|
## z.map <====== !!!
|
|
|
|
|
|
|
|
## hush does globbing for "VAR=val" too!
|
|
|
|
## it should do it only for non-assignments.
|
2008-02-10 21:30:30 +05:30
|
|
|
## even if word looks like assignment, it can be non-assignment:
|
2008-02-10 17:40:08 +05:30
|
|
|
## ZVAR=*.map /bin/echo ZVAR=*.map
|
|
|
|
## ^dont_glob ^glob
|
|
|
|
|
|
|
|
>ZVAR=z.map
|
|
|
|
ZVAR=*.map /bin/echo ZVAR=*.map
|
|
|
|
ZVAR=*.map
|
|
|
|
echo "$ZVAR"
|