This will be an easy one, but in my memories, when shell scripting, using double quotes would allow expanding globbing and variables.
But in the following code:
#!/bin/sh echo *.sh echo "*.sh" echo '*.sh' echo $LANG echo "$LANG" echo '$LANG'
I get this result:
bob.sh redeployJboss.sh *.sh *.sh en_US.utf8 en_US.utf8 $LANG
So single quoting prevent glob AND variable expansion but double quoting allows only variable expansion and no globbing?
Can I glob in any quoting pattern?