#!/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?
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to