Tag Archives: perl

Perl in place replacement syntax

I always forget how to do this, so I’m writing it down: perl -pi -e “s/foo/bar/g” Is there a way to do this in Python and be as concise? That would be really nice, and would eliminate one more place … Continue reading

Posted in General | Tagged , , | 1 Comment