[Gllug] sed question: hyperlinking URLs
Martin A. Brooks
martin at hinterlands.org
Fri Jan 26 14:15:01 UTC 2007
On Fri, 2007-01-26 at 14:14 +0000, Martin A. Brooks wrote:
> On Fri, 2007-01-26 at 14:12 +0000, J F wrote:
> > Thanks for the Perl code and the tips. Having looked at your code, I tried this:
> >
> > sed -e "s at www\.[^ \t]*[^., \t]@<a href=\"http://\0\">\0</a>@g"
>
> @ is a valid character in URLs.
Duh. Ignore me.
-------------- next part --------------
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list