Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Shell script woes' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Shell script woes
Authored by: smurf on Nov 02, '01 02:29:36AM

Or, if you do write a shell script, enclose ALL file names in double quotes.

WRONG:

#!/bin/sh
run_me $1 $2

CORRECT:

#!/bin/sh
run_me "$1" "$2"

If you forget that, nasty surprises will get you.



[ Reply to This | # ]