Stop Microsoft

Operating Systems => Linux and UNIX => Topic started by: Agent007 on 20 October 2002, 16:34

Title: Editing multiple files instantly!
Post by: Agent007 on 20 October 2002, 16:34
hi all,

I have a bunch of .html files about 50 of them and need to substitute a certain line with something else.

Example, if the line of text is "http://www.personal.psu.edu/users/f/p/fpm108/glw/pictures/circle.gif"

then it should be changed to "./root/images/circle.gif"

Is there a way to do this via a script automatically for all 50 files?
pls help!


thanks,
007
Title: Editing multiple files instantly!
Post by: flap on 20 October 2002, 17:15
see this thread: http://forum.fuckmicrosoft.com/cgi-bin/ultimatebb.cgi?ubb=get_topic&f=5&t=000917 (http://forum.fuckmicrosoft.com/cgi-bin/ultimatebb.cgi?ubb=get_topic&f=5&t=000917)