On Mar 28, 2008, at 12:02 PM, Paul Krizak wrote:
> And it worked fine.
...
> And that worked fine too.
Dangit, you're right. I dropped some stuff in copy/paste. FARG!
Well, here are the lines which won't match no matter what. And I'm
having a devil of a time producing a test case for this problem. But
it's real. The same lines work without double tabs...
[EMAIL PROTECTED] 46$ cat -vet testfile
*/10^I*^I*^I*^I*^Iroot^I/usr/local/bin/bsdsar_gather$
0^I2^I*^I*^I*^Iroot^I/usr/sbin/freebsd-update cron$
0^I*^I*^I*^I*^Iroot^I/usr/local/sbin/cfexecd -F$
0^I^I2^I*^I*^I*^Iroot^I/usr/sbin/freebsd-update cron$
0^I^I*^I*^I*^I*^Iroot^I/usr/local/sbin/cfexecd -F$
[EMAIL PROTECTED] 47$ cat -t cfagent.conf
control:
^Iactionsequence^I= ( editfiles )
editfiles:
^I{ /home/jrhett/test/testfile
^I^IDeleteLinesMatching "^0^I^I2^I*^I*^I*^Iroot^I/usr/sbin/freebsd-
update cron"
^I^IDeleteLinesMatching "^0^I^I*^I*^I*^I*^Iroot^I/usr/local/sbin/
cfexecd -F"
^I}
[EMAIL PROTECTED] 48$ cfagent -qIf ./cfagent.conf
cfengine:arran: Couldn't find a private key (/home/jrhett/.cfagent/
ppkeys/localhost.priv) - use cfkey to get one
[EMAIL PROTECTED] 49$ cat -vet testfile
*/10^I*^I*^I*^I*^Iroot^I/usr/local/bin/bsdsar_gather$
0^I2^I*^I*^I*^Iroot^I/usr/sbin/freebsd-update cron$
0^I*^I*^I*^I*^Iroot^I/usr/local/sbin/cfexecd -F$
0^I^I2^I*^I*^I*^Iroot^I/usr/sbin/freebsd-update cron$
0^I^I*^I*^I*^I*^Iroot^I/usr/local/sbin/cfexecd -F$
--
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source
and other randomness
_______________________________________________
Bug-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/bug-cfengine