goreplace
goreplace copied to clipboard
Feature Request - Echo the files without changing
As of now, go-replace
replaces the strings in the files in the current directory, it would be nice to also print out the files without changing them.
For example, this is the current behaviour
go-replace search -r replace
A sed
alternative of what I am looking for
cat * | sed 's/search/replace/'
Hah, it's funny, but I switched to ripgrep for searching, and for replacing of that kind, and use goreplace only for changing files...
yeah, I know :) It will be just good to have the feature, I'll leave it up to you if you wanna build it. Thanks!