BASH and VARs

Gabriel Gunderson gabe at gundy.org
Tue Mar 1 18:50:51 MST 2005


On Tue, 2005-03-01 at 18:00 -0700, Doran Barton wrote:
> Always do conditional statements in quotes. Use this syntax: ${VAR}.
> 
> -=Fozz

The script has many, many vars that may or may not be used.  So to use
conditionals would make it a hard script to follow.

I think I may have found what I need...

set -u

As always, I appreciate the input.

Gabe




More information about the PLUG mailing list