perl or bash question ["convert strings in a txt to html links"]

Russell Miller duskglow at gmail.com
Sat Feb 27 17:31:02 UTC 2010


On Saturday 27 February 2010 09:12:06 Vadkan Jozsef wrote:
> How can I do that in bash or perl, that I have a txt file, e.g.:
> 
something like

sed -ie s/(.*)/<a href="\1">\1</a>/ filename

Not sure of the EXACT syntax but that should be close.

(apologies if this gets sent twice, I sent the first from the wrong address)

--Russell


More information about the users mailing list