Idea: support replacing the content of stdin
cgestes opened this issue · comments
Cedric GESTES commented
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.
Dimitri Merejkowsky commented
Yeah, I think sed (or awk) or even perl -e
or ruby -e
may be a better solution
Noé Rubinstein commented
Well, sed
does not have ruplacer's subvert
option.