On Jan 3, 2007, at 3:07 PM, Robert Huff wrote:
if [ ! -d "foo"]
        then mkdir foo
fi


You want a space before the "]" and a semicolon after it.

--
-Chuck

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to