Posted By

Risse on 03/26/11


Tagged

regex Shell Bash replace linux sed


Versions (?)

Linux shell replace string


 / Published in: Bash
 

  1. sed 's/catch/send/g' FILE > TMPFILE && mv TMPFILE FILE

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: number1pride on April 30, 2011

sed -i.orig 's/catch/send/g' FILE

Posted By: number1pride on April 30, 2011

Oops sed -i.orig -e 's/catch/send/g' FILE

Posted By: number1pride on April 30, 2011

sed -i.orig 's/catch/send/g' FILE

You need to login to post a comment.