« Fun with Oracle Calendar | Main | Asterisk as a SIP gateway? »

August 11, 2005

fun with shell scripts


if [ $SOME_VARIABLE ]; then
blah blah blah...
fi

is definitely inferior to

if [ "$SOME_VARIABLE" ]; then
blah blah blah...
fi

especially when $SOME_VARIABLE="some text - like this".

arghh...

Posted by sdh7 at August 11, 2005 05:13 PM

Trackback Pings

TrackBack URL for this entry:
http://blog.case.edu/sdh7/mt-tb.cgi/2161

Comments

You think that's bad?
I
got a million of 'em.

Posted by: Paul Jarc at August 11, 2005 11:53 PM

Post a comment

¡Comment registration is required but no TypeKey token has been given in weblog configuration!