pcp
[Top] [All Lists]

Re: [pcp] dbpmda permissions

To: Martins Innus <minnus@xxxxxxxxxxx>, Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: [pcp] dbpmda permissions
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue, 16 Dec 2014 16:37:46 -0500 (EST)
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <54908A81.5000100@xxxxxxxxxxx>
References: <548F5468.9040209@xxxxxxxxxxx> <890347474.18326939.1418682302877.JavaMail.zimbra@xxxxxxxxxx> <54908A81.5000100@xxxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: Nq2tGJAZGdb1blewhNRFyNA0DUNihQ==
Thread-topic: dbpmda permissions
Hi Martins,

----- Original Message -----
> Nathan,
> 
> Yup, thanks, that works.  Now, is there a way to pass a string that
> contains quotes? The usual suspects didn't seem to work:

I don't think so, from a look at the src/dbpmda/src/lex.l definition
of a STRING token.  I think it would be a straightforward (+ useful)
extension to allow single-quotes within double-quoted strings, and
vice-versa ... any thoughts there Ken?

> dbpmda> store hotproc.control.config "uname == \"root\""
>                                       ^ at or near here
> Error: Unrecognized command
> Type 'help' for a list of commands.
> 
> 
> Trying to test the parser in a couple ways.  If not, I can skip that for
> now.
> 
> Thanks
> 
> Martins
> 

<Prev in Thread] Current Thread [Next in Thread>