You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`goreplace -s foobar -r barfoo file1 file2`| Replaces `foobar` to `barfoo` in file1 and file2 |
38
+
|`goreplace --regex -s 'foo.*' -r barfoo file1 file2`| Replaces the regex `foo.*` to `barfoo` in file1 and file2 |
39
+
|`goreplace --regex --ignore-case -s 'foo.*' -r barfoo file1 file2`| Replaces the regex `foo.*` (and ignore case) to `barfoo` in file1 and file2 |
40
+
|`goreplace --replace-line -s 'foobar' -r barfoo file1 file2`| Replaces all lines with content `foobar` to `barfoo` (whole line) in file1 and file2 |
41
+
|`goreplace -s 'foobar' -r barfoo --path=./ --path-pattern='*.txt'`| Replaces all lines with content `foobar` to `barfoo` (whole line) in *.txt files in current path |
0 commit comments