Skip to content

czerwonk/in-replace

Repository files navigation

in-replace

Build Status Go Report Card

simple multi platform inplace replacer

Installation

go get github.com/czerwonk/in-replace

Configuration

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.

License

(c) Daniel Czerwonk, 2018. Licensed under MIT license.

About

multi platform inplace replacer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages