[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sed



Title: Re: sed

michael wrote:
> I've been struggling to get this to work but I think 'sed' should be
> able to do it if I could just get some help with the correct
> incantation...
>
>
> given a file with many strings, include many of the form
>   <a href="" url or other">www</a>
>
> I wish each to be transformed to
>   <a href="" url or other">some url or other</a>
>
> ie so literal 'www' is replaced with the actual URL for each
> occurance...
>
> any ideas? ta, M

If your input is XHTML (XML-compatible HTML), consider XSLT.

Daniel
--
(Plain text sometimes corrupted to HTML "courtesy" of Microsoft Exchange.)



Reply to: