Date: Sat, 3 Jul 2010 11:25:32 +0200 From: Erik Gustafson <gustafson.erik@gmail.com> To: Jozsi Avadkan <jozsi.avadkan@gmail.com> Cc: FreeBSD Mailing list <freebsd-questions@freebsd.org> Subject: Re: text to html Message-ID: <AANLkTikGrd7Vj3q-5vI-BbMULTJGMslMJJfA6n7fby89@mail.gmail.com> In-Reply-To: <1278148049.4480.9.camel@localhost> References: <1278148049.4480.9.camel@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 3, 2010 at 11:07 AM, Jozsi Avadkan <jozsi.avadkan@gmail.com> wrote: > input: > http://pastebin.com/raw.php?i=MqPXZwc3 > > output: > http://pastebin.com/raw.php?i=8QCkp4yv > > it will be a long day.. :D > > could someone please help with it? > > i have to make a "one liner" that get's the input, and gives the > mentioned output. Sed version: # cat raw_input | sed 's#\(.*\)/\(.*\)#<br><font size=4>\1</font><br> \ <a href="&">\2</a>'# /Erik
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikGrd7Vj3q-5vI-BbMULTJGMslMJJfA6n7fby89>