text to html

Rodolfo Alcazar Portillo nospaze at gmail.com
Sat Jul 3 13:16:43 UTC 2010


On Sat, 2010-07-03 at 11:07 +0200, Jozsi Avadkan wrote:
> input:
> http://pastebin.com/raw.php?i=MqPXZwc3
> 
> output:
> http://pastebin.com/raw.php?i=8QCkp4yv
> 
> it will be a long day.. :D

Not likely. Obviously, you must replace lynx with cat <file>.  

lynx -dump http://pastebin.com/raw.php?i=MqPXZwc3|sed -r 's/([^\/]*)\/(.*)\.html/<br><font size=4>\1<\/font><br>\n<a href="\1\/\2.html">\2<\/a> |/g'

Understood? I'll not be available during football matches.

Regards.
----------------------------------------------
Rodolfo Alcazar Portillo - nospaze at gmail.com
otbits.blogspot.com / counter.li.org: #367962
----------------------------------------------
- "Bother," said Pooh, "Eeyore, ready two photon torpedoes and lock
phasers on the Heffalump, Piglet, meet me in transporter room three."
Robert Billing




More information about the users mailing list