Posted By

axolx on 08/24/10


Tagged

Shell perl sed


Versions (?)

Perl in-place substitution as an alternative to sed


 / Published in: Pseudocode
 

  1. perl -i -pe "s|handles 'quotes' \"nicely\"|and $shell_variables|" example.txt

Report this snippet  

You need to login to post a comment.