pcp
[Top] [All Lists]

Re: [pcp] dbpmda permissions

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>, Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] dbpmda permissions
From: Martins Innus <minnus@xxxxxxxxxxx>
Date: Wed, 17 Dec 2014 10:57:29 -0500
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <5490B8EF.6020506@xxxxxxxxxxxxxxxx>
References: <548F5468.9040209@xxxxxxxxxxx> <890347474.18326939.1418682302877.JavaMail.zimbra@xxxxxxxxxx> <54908A81.5000100@xxxxxxxxxxx> <1948099581.19288578.1418765866184.JavaMail.zimbra@xxxxxxxxxx> <5490B8EF.6020506@xxxxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
Ken,

On 12/16/14 5:57 PM, Ken McDonell wrote:

...
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.

I made a quick and dirty change to lex.l and this

dbpmda> store hotproc.control.config 'uname == "root"'

seems to parse OK.
Thanks, that is perfect!

Martins

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