I like pyp but the easiest way to edit file in place with pyp I found was:
cat f | pyp "p.replace('e', 'R')" | sponge f
But it's complicated and sponge isn't standard program (moreutils is not even
in standard openSUSE's repositories).
So I propose to add option -i --inplace AND/OR add -o --output option that
handles in place editing correctly.
Original issue reported on code.google.com by InfR...@gmail.com on 27 May 2014 at 3:06
Original issue reported on code.google.com by
InfR...@gmail.com
on 27 May 2014 at 3:06