simple (and stupid) shell scripting question



#!/bin/sh

I have these lines in my script:

DIRNAME="`dirname \"$0\"`"
cd "$DIRNAME"
SCRIPTDIR="`pwd`"

What if I got rid of extra double quotes? Like this:

DIRNAME=`dirname \"$0\"`
cd "$DIRNAME"
SCRIPTDIR=`pwd`

Does this behave any differently in any kind of case? Are thes double
quotes just superfluous?
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"