Re: substitute strings in text files (links in html files)

1999-01-15 Thread kaynjay
In <[EMAIL PROTECTED]>, on 01/15/99 at 12:39 PM, "Oliver Thuns" <[EMAIL PROTECTED]> said: >Hello! >How could I substitute a string (links) in html files with standard Linux >(debian) tools? >i.e. I want to change every http://one.domain.com in >http://two.domain.com in some files and files i

Re: substitute strings in text files (links in html files)

1999-01-15 Thread Andrew Ivanov
> Hello! > > How could I substitute a string (links) in html files with standard > Linux (debian) tools? > > i.e. I want to change every http://one.domain.com in > http://two.domain.com in some files and files in subdirs. sed -e "s/one.domain.com/two.domain.com/" originalfile > newfile Andrew _

Re: substitute strings in text files (links in html files)

1999-01-15 Thread Eric Gillespie, Jr.
On Fri, 15 Jan 1999, Oliver Thuns wrote: > Hello! > > How could I substitute a string (links) in html files with standard > Linux (debian) tools? > > i.e. I want to change every http://one.domain.com in > http://two.domain.com in some files and files in subdirs. > sed -e "s/two/one/g" f1.html

Re: substitute strings in text files (links in html files)

1999-01-15 Thread M.C. Vernon
On Fri, 15 Jan 1999, Oliver Thuns wrote: > Hello! > > How could I substitute a string (links) in html files with standard > Linux (debian) tools? use sed. It is very powerful for this sort of thing. Matthew -- Elen sila lumenn' omentielvo Steward of the Cambridge Tolkien Society Selwyn Coll