Architecture #16858
closed
regex
sed "s/\([^&]\)RudderUniqueID\([^&]\)/\1\&RudderUniqueID\&\2/g"
seems to do the trick, except when a line starts or finished by RudderUniqueID
4 seds work but seems a bit overkill
sed "s/\([^&]\)RudderUniqueID\([^&]\)/\1\&RudderUniqueID\&\2/g" test.st | sed "s/^RudderUniqueID\([^&]\)/\&RudderUniqueID\&\1/g" | sed "s/\([^&]\)RudderUniqueID$/\1\&RudderUniqueID\&/g" | sed "s/^RudderUniqueID$/\&RudderUniqueID\&/g"
sed "s/\([^&]\|^\)RudderUniqueID\([^&]\|$\)/\1\&RudderUniqueID\&\2/g"
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
- Assignee changed from Nicolas CHARLES to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/rudder-packages/pull/2214
- Status changed from In progress to Pending release
- Tracker changed from Bug to Architecture
- Priority deleted (
0)
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.1.0~beta1 which was released today.
Also available in: Atom
PDF