Re: help needed for converting strings in a file

2005-11-17 Thread Michelle Konzack
Am 2005-11-10 21:22:53, schrieb Sourabh Bora: > hi,, > The logic is --1)delete http://www. > 2) replace '/' '?' etc with '_' > > I want to write a script using sed or awk which will do all the > conversion in a file.. What about: 8<--

Re: help needed for converting strings in a file

2005-11-11 Thread Maurits van Rees
On Thu, Nov 10, 2005 at 09:22:53PM +0530, Sourabh Bora wrote: > In a web page the hyper links are written as > > href="http://www.micronux.com/catalog/"; > > i want this particular string to convert to > > > href="./micronux.com_catalog" > > The logic is --1)delete http://www. >

Re: help needed for converting strings in a file

2005-11-10 Thread Michael Marsh
On 11/10/05, Sourabh Bora <[EMAIL PROTECTED]> wrote: > hi,, > i am making a small tool for offline web browsing.. For this I need > to change the source of html files. > let me explain:: > > In a web page the hyper links are written as > > href="http://www.micronux.com/catalo

Re: help needed for converting strings in a file

2005-11-10 Thread Oliver Lupton
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jochen Schulz wrote: > You are searching wget (--convert-links). > > J. Firefox's (and Mozilla's?) "Save Page As" option on the right-click menu might also be worth a look, though not much good if you want to automate the process it does handle conve

Re: help needed for converting strings in a file

2005-11-10 Thread Jochen Schulz
Sourabh Bora: > > In a web page the hyper links are written as > > href="http://www.micronux.com/catalog/"; > > i want this particular string to convert to > > href="./micronux.com_catalog" You are searching wget (--convert-links). J. -- It is not in my power to change anything. [Agree

help needed for converting strings in a file

2005-11-10 Thread Sourabh Bora
hi,,     i am making a small tool for offline web browsing.. For this I need to change the source of html files.    let me explain::       In a web page the hyper links are written as href="http://www.micronux.com/catalog/" i want this particular string to convert to href="./micronu