Re: Windows registry entry (REG_SZ) with a comma

Bob <[email protected]>
Newsgroups gmane.comp.sysutils.cfengine.general
Message-ID <[email protected]>
Thank you and my apologies. I really am trying to review the documentation 
before I ask.

On Thursday, December 1, 2022 at 1:47:19 PM UTC-7 [email protected] 
wrote:

> Bob <[email protected]> writes: 
>>
>> The issue is the following error: 
>>
>> error: Registry row format should be NAME,REG_SZ,VALUE, not 
>> 'DaylightName,REG_SZ,'@tzres.dll,-201'' 
>>
>> The issue is the value contains a comma character. I've tried a single 
>> quote to group it and I've tried escape() without luck. Any suggestions? 
>>
> Hi Bob, 
>
> The documentation for database_rows has a note that says "If a column 
> value has a comma you can escape the comma with a backslash \.". Did you 
> try that? 
>
>
> https://docs.cfengine.com/docs/master/reference-promise-types-databases.html#database_rows 
>
> – Nick Anderson | Doer of Things | (+1) 785-550-1767 <(785)%20550-1767> | 
> https://northern.tech 
>

-- 
You received this message because you are subscribed to the Google Groups "help-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/help-cfengine/3702fb2c-5678-4922-a635-0ccebdc52264n%40googlegroups.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.