empty string in replace editfiles not working

Bug #219219 reported by Andy Wettstein
2
Affects Status Importance Assigned to Milestone
cfengine2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: cfengine2

I have some editfiles configuration in cfengine that replaces a string with an empty string. Something like this:
ReplaceFirst "^#$(group)[[:blank:]]+" With ""

Upgrading to hardy and using cfengine 2.2.3, this no longer works with this error:
ReplaceAll/With mismatch before or at line

The changelog for cfengine 2.2.4 has this entry:
Bugfix for empty strings in editfiles

I built and installed cfengine 2.2.5 using the debian source package on hardy and the error is gone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.