lists on 19 Nov 2007 22:47:35 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Perl backticks/system question


> On Mon, Nov 19, 2007 at 02:09:10PM -0500, Jon Nelson wrote:
>> > No, that's how I understood the problem.  Do you also get a syntax
>> > error when you run
>> >
>> > $ echo a(b)c
>> >
>> > Anyway, I'm out of guesses.
>> >
>>
>> Yep I get the error.
>
> But you're saying you *don't* get an error when you try to execute
> some other command that has parens in it?  Could you post the exact
> command you're trying to execute, before it's been run through
> quotemeta?

Ok.  The Clue Train just pulled into Station Quincy.  I had two arguments
and I only used quotemeta() on the first.  The second had parens that
needed escaping as well.

Sorry for being a dope. ;)

jon

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug