[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cfengine bug?
From: |
Rajeev Agrawala |
Subject: |
cfengine bug? |
Date: |
Fri, 07 Feb 2003 10:25:56 -0500 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 |
Hi,
I am trying to add a line containing "${key}" in the line. If I try to do
AppendIfNoSuchLine "sometext${key}
I get $(key) is not a defined variable and the line gets added with
curly braces replaced by '$(key)'
If I use
AppendIfNoSuchLine "sometext$(DOLLAR){key}"
I would expect it to do the right thing and not treat $(DOLLAR){key} as
a variable ${key}. But still it does the same thing and finally I get
"sometext$(key)" in the file.
Anyway I can get cfengine to put ${key} in the file (curly braces)?
I am using version 1.6.3 on FreeBSD 4.7-Release
Thanks,
rajeev
- cfengine bug?,
Rajeev Agrawala <=