Simply use the following command;
perl -pi~ -e ’s/regexp1/regexp2/’ files
Where;
- regexp1 - Regular expression you are seeking.
- regexp2 - It’s replacement.
- files - The files you wish this replacement to occur.
Explore posts in the same categories: Technical
This entry was posted
on Wednesday, May 23rd, 2007 at 2:27 pm and is filed under Technical.
You can subscribe via RSS 2.0 feed to this post's comments.
You can comment below, or link to this permanent URL from your own site.
Your comments will appear immediately, but I reserve the right to delete innapropriate comments.
May 27th, 2007 at 6:46 pm
Google…
Google is the best search engine Google…