On 2/20/07, Mathew Snyder <[EMAIL PROTECTED]> wrote:

shredder --force --plugin 'Tickets=arg1,desc;arg2,desc;arg3,desc'

I can see that the system call would look like
system("shredder","--force","--plugin"
for the first section there, however, would the last part be
"\'Tickets==arg1,desc;arg2,desc;arg3,desc\'")
or would I have to break those down into separate arguments?

Why have you backslashed the single quotes and doubled the equals sign?

But I think your real difficulty is that those single quote marks are
used in shell programming so that the shell won't interpret
metacharacters (such as semicolon) in the argument. If I'm right about
that, they shouldn't be included in the actual parameter string passed
to shredder (which should, indeed, be a single parameter string).

Hope this helps!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to