how can someone replace javasript using find . perl pi command using the following example string. Can't seem to replace it no matter what i try.
im currently using the
to ...
im currently using the
% find . -name '*index.html' -print0 | xargs -0 perl -pi -e 's/something/something/g'
Code:
<script type="text/javascript"><!--google_ad_client = "pub-7575744747";/* 336x280, created 1/23/10 */google_ad_slot =
"7676767676";google_ad_width = 336;
to ...
Code:
<font size="-1">Sponsored Listings</font>
<script type="text/javascript"><!--google_ad_client = "pub-7575744747";/* 336x280, created 1/23/10
*/google_ad_slot = "7676767676";google_ad_width = 336;