suppress shell expansion inside quoted strings

This commit is contained in:
BVK Chaitanya 2010-11-07 16:13:14 +05:30
parent 33b4b0c61a
commit a8152fedab
2 changed files with 9 additions and 1 deletions

View file

@ -31,3 +31,11 @@ echo foo -n
echo foo -n -e
echo -------
if test -n "$grubshell"; then insmod regexp; fi
echo '*'
echo "*"
foo="*"
echo "$foo"