[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] spaces in paths/directory names



> If you enclose strings with spaces in 'quotes like this' shell scripts
> will quite barfing on them.

Well, that depends on how carefully the script is written.  If the script
nuke has:

	/bin/rm -rf $x

and you invoke it from root as

	nuke "/bin mine"

it will not do the desired thing.  If it was written as

	/bin/rm -rf "$x"

it will (but don't do this!)


> JimK
> Local Net Solutions
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.