TEXT2HTML(1)
π TEXT2HTML(1) β like, the whole vibe π
okay bestie, sit down, hydrate, and let me tell you about text2html, a little utility from the User Contributed Perl Documentation corner of the universe (iykyk). it's giving "quiet legend." β¨
πΈ NAME πΈ
text2html β convert plain text to HTML. that's it, that's the job, and she does it gorgeously π
π VERSION π
version 2.07 β yes queen, we're on 2.07 π«Ά
β¨ SYNOPSIS β¨
text2html [options...] [file ...]
π¦ DESCRIPTION π¦
so the text2html utility converts text to HTML. the text can come from standard input or from files listed right there on the command line. your choice, no pressure, live your truth. π
the available options are outlined in HTML::FromText β that's where the real lore lives. but heads up, the option syntax here is slightly different, okay?
- options are prefixed with two dashes (
--) - an option may have an option value following an equals sign (
=) - the default value is on (
1)
that's the whole system. no cap. π
π EXAMPLES π
convert the README file using paras and blockcode:
text2html --paras --blockcode README
convert a file called --stupid-name (yes, for real, that's the actual filename, not me being dramatic π):
text2html --paras -- --stupid-name
convert text on standard input:
text2html --paras --urls --email --bold --underline
convert text on standard input but turn off metachars:
text2html --metachars=0 --lines
π DIAGNOSTICS π
the text2html utility exits 0 on success, and >0 if an error occurs. so like, zero means we ate, and anything above zero means something went sideways π
π SEE ALSO π
perl(1), HTML::FromText(3). go read them, they're the supporting cast and they understood the assignment. β
π AUTHORS π
- Ricardo SIGNES
<rjbs@cpan.org> - Casey West
<casey@geeknest.com> - Gareth Rees
<garethr@cre.canon.co.uk>
three icons, one utility. main character energy all around π§
πΈ COPYRIGHT AND LICENSE πΈ
this software is copyright (c) 2003 by Casey West.
this is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay π
and that's the page, bestie! this whole thing shipped with perl v5.42.0, dated 2025-07-25, and it's filed under TEXT2HTML(1). obsessed with her, honestly. bye! πβ¨
π¦ where this page comes from
- fedora 43: perl-HTML-FromText 2.07-33.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms