text to html

NoOp glgxg at sbcglobal.net
Sat Jul 3 21:40:34 UTC 2010


On 07/03/2010 02:07 AM, 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
> 
> could someone please help with it?
> 
> i have to make a "one liner" that get's the input, and gives the
> mentioned output.
> 
> 

txt2html ?
<quote>
txt2html is a Perl program that converts plain text to HTML.

It supports headings, lists, simple character markup, and hyperlinking,
and is highly customizable. It recognizes some of the apparent structure
of the source document (mostly whitespace and typographic layout), and
attempts to mark that structure explicitly using HTML.

The purpose for this tool is to provide an easier way of converting
existing text documents to HTML format, giving something nicer than just
whapping the text into a big PRE block. txt2html can also be used to aid
in writing new HTML documents, but there are probably better ways of
doing that.
</quote>







More information about the ubuntu-users mailing list