simple multi platform inplace replacer
go get github.com/czerwonk/in-replace
to configure in-replace a yaml file of the following form is needed:
files:
- path: "test.txt"
replacements:
- regex: "(t)est"
replacement: "T"
group: 1
group is the capture group and can be omited if the whole match is meant to be replaced.
(c) Daniel Czerwonk, 2018. Licensed under MIT license.