Bug #9612
closed
Documentation of file_replace_lines is minimalist, and doesn't explain how to use it
Added by Nicolas CHARLES about 8 years ago.
Updated over 2 years ago.
Description
Generic method file_replace_lines allows to capture with regex and replace, but unless one is an expert in cfengine, it's impossible to know how to use it
We should add a real example, notably document ${match.1}
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Alexis Mousset
- Pull Request set to https://github.com/Normation/ncf/pull/485
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset commit:03ab9c5fed925aee6e226c14108e299aab70cc30.
- Status changed from Pending release to Released
- Priority set to 0
- Target version changed from 0.x to ncf-0.x
- Project changed from 41 to Rudder
- Category changed from Documentation to Documentation
Also available in: Atom
PDF