a SED need

2005-12-27 Thread Jack Stone
I have some HTML files with hundreds of URLs that I need to modify using a search/replace string. I assume that SED(1) is the right tool to use, but every syntax I've tried has not worked. Here is what I'm trying to do: Change full URLs to relative paths, in other words, chop off the

Re: a SED need

2005-12-27 Thread Dmitry Sidorov
On Tue, 2005-12-27 at 09:18 -0600, Jack Stone wrote: I have some HTML files with hundreds of URLs that I need to modify using a search/replace string. I assume that SED(1) is the right tool to use, but every syntax I've tried has not worked. Here is what I'm trying to do: Change full URLs

Re: a SED need

2005-12-27 Thread David Kelly
On Tue, Dec 27, 2005 at 09:18:56AM -0600, Jack Stone wrote: I have some HTML files with hundreds of URLs that I need to modify using a search/replace string. I assume that SED(1) is the right tool to use, but every syntax I've tried has not worked. Here is what I'm trying to do: Change

Re: a SED need

2005-12-27 Thread Mike Jeays
On Tue, 2005-12-27 at 09:18 -0600, Jack Stone wrote: I have some HTML files with hundreds of URLs that I need to modify using a search/replace string. I assume that SED(1) is the right tool to use, but every syntax I've tried has not worked. Here is what I'm trying to do: Change full URLs