BASH and VARs

Gabriel Gunderson gabe at gundy.org
Tue Mar 1 17:12:41 MST 2005


How can I keep bash from using undeclared variables (other then being
careful)?

So something like this would barf on running...

VAR1="VALUE1"
echo $VAB1
        ^

Is there any way to do this?

Google says it's a mixed blessing.  What say you? 

Thanks,
Gabe




More information about the PLUG mailing list