Volker Kuhlmann wrote:

DIR="/ hahahaaa..."
[ "${DIR}" != '/' ] && rm -rf ${DIR}

make that
rm -rf "${DIR}"

and haste la viste baby.

Why is it that, generally speaking, on unix everything stops working as
soon as a name contains a space? Most shell scripts are rubbish just
for this reason.

Yeah, i got sent a rational rose CD for linux where the install script barfed for this very reason.
I didn't bother with the rest of it.

People don't know what the various quotes are for.

Rex


Reply via email to