Re: [ILUG] [OT] text replacement recursively ?

From: Stephen Shirley (diamond at domain skynet.ie)
Date: Wed 25 Sep 2002 - 14:20:03 IST


On Wed, Sep 25, 2002 at 02:14:17PM +0100, Declan Grady wrote:
> std_mini.html">62000 with 62000.html">62000
>
> by doing
>
> sed "s/std_mini.html\"\>62000/62000.html\"\>62000/" infile >outfile
>
> but it didnt do the replacements .. I suspect the double-inverted-commas ?

Try this:

  sed 's/std_mini.html">62000/62000.html">62000/' infile >outfile

> Thanks again for the help.

No probs. That what they pay me for, althought they don't know that,
yet.

Steve

-- 
High salt diets are bad for you - but only outside marriage.


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:19:04 GMT