your-tools / ruplacer

Find and replace text in source files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Idea: support replacing the content of stdin

cgestes opened this issue · comments

For example:

cat myFile | ruplacer fooBar catBar

Not sure it makes sense, it is equivalent to using sed -e, but the syntax is easier with ruplacer.

Yeah, I think sed (or awk) or even perl -e or ruby -e may be a better solution

Well, sed does not have ruplacer's subvert option.