Project

General

Profile

Actions

Bug #9612

closed

Documentation of file_replace_lines is minimalist, and doesn't explain how to use it

Added by Nicolas CHARLES over 7 years ago. Updated about 2 years ago.

Status:
Released
Priority:
N/A
Category:
Documentation
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

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}

Actions

Also available in: Atom PDF