How to mass Search & Replace in text files.

Lance F. Squire lance-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org
Fri May 1 14:36:14 UTC 2009


Alex Beamish wrote:
> The classic tool for doing this is sed .. but you could also use perl
> -ie 's/Bad JS//' *.html
> 

So....

sed 's/Bad JS//' *html

Would that search recursively?

Lance
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list