User story #8169
How to: Ensure a line is present in a file (and only one time!)
Ensuring there is only one line matching a regexp present in a file is a complicated thing,
If there was only one line, only use a replacement and i'ts ok !
But if there was multiple lines... you'll need to do some magic and we will try to explain it here!
Updated by Vincent MEMBRÉ almost 5 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-doc|b52b24617ecfcd90c1ce334d35ef18103b5b885b.
Updated by Vincent MEMBRÉ over 4 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.11.21, 3.0.16, 3.1.10 and 3.2.3 which were released on 2016-06-01, but not announced.
- 2.11: Changelog
- 3.0: Changelog
- 3.1: Changelog
- 3.2: Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/