Project

General

Profile

Actions

User story #8169

closed

How to: Ensure a line is present in a file (and only one time!)

Added by Vincent MEMBRÉ almost 8 years ago. Updated almost 8 years ago.

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

Description

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!

Actions

Also available in: Atom PDF