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


Click here to return to the 'dangerous script - actually not' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
dangerous script - actually not
Authored by: mzs on Oct 04, '05 11:56:06AM
Since this uses the form "``" instead of just `` that aspect of the original script is okay. No word splitting etc happens in that case. For example:

$ echo 'foo  bar'
foo  bar
$ echo `echo 'foo    bar'`
foo bar
$ echo "`echo 'foo    bar'`"
foo    bar
So it is not incorrect, nor is it dangerous precisely because it DOES not do an eval. I feel pretty dumb now.

[ Reply to This | # ]