[ale] spaces in paths/directory names

Bob's ALE Mail transam at cavu.com
Sat Dec 9 22:49:22 EST 2000


> 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.





More information about the Ale mailing list