Re: Windows registry entry (REG_SZ) with a comma
"'Nick Anderson' via help-cfengine" <[email protected]>
| Newsgroups | gmane.comp.sysutils.cfengine.general |
|---|---|
| Message-ID | <[email protected]> |
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 | <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/87o7smsvfx.fsf%40precision-5570.home.cmdln.org.