[PLUG] Re: Resolved: [PLUG] More Scripting Fun!

Randal L. Schwartz merlyn at stonehenge.com
Sun Jun 23 15:09:37 UTC 2002


>>>>> "dh" == dh  <dh at mda.huntbros.net> writes:

dh> Your're right. It is because metacharacters are parsed before variable
dh> expansion. Eval is a valid way to handle this, but only if you are quite
dh> certain of the possible values of your variables. Eval on a var containing
dh> "`rm -rf /`" could be devasting. Man bash and search for terms like
dh> metacharacters, operators, pipelines, expansion, and eval.

And my updates would protect Jason from that.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!



More information about the PLUG mailing list