Open aspiers opened 6 years ago
Would be helpful if in-place editing was supported, just like perl -pi.bak and sed -i.bak.
perl -pi.bak
sed -i.bak
That shouldn't be too hard. Add the "-i" option, create a new temp file, treat the temp file as "-o", then when done just replace in place.
Would be helpful if in-place editing was supported, just like
perl -pi.bak
andsed -i.bak
.