Project

General

Profile

Actions

Bug #6431

closed

How to line replacement in Enforce a file content

Added by Anthony Lawson about 9 years ago. Updated about 9 years ago.

Status:
Rejected
Priority:
1
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Situation:

In file /etc/myservice.config on server1:
mail.recipients=,,

In file /etc/myservice.config on server2:
#mail.recipients=

I want to change these parameters to mail.recipients=
My Regex: [#]?(mail.recipients=).*
My String remplacement: mail.recipients=

But it doesn't work
Please provide docmentation on how to do this


Related issues 1 (0 open1 closed)

Is duplicate of Rudder - Bug #5979: Document usage of line replacement in Enforce a file content techniqueReleasedBenoƮt PECCATTE2014-12-11Actions
Actions

Also available in: Atom PDF