1TEXT2HTML(1) User Contributed Perl Documentation TEXT2HTML(1)
2
3
4
6 text2html - convert plain text to HTML
7
9 version 2.07
10
12 text2html [options...] [file ...]
13
15 The "text2html" utility converts text to HTML. Text can come from
16 standard input or files listed on the command line.
17
18 The available options are outlined in HTML::FromText. The option syntax
19 is slightly different. Options are prefixed with two dashes ("--") and
20 may have an option value following an equals sign ("="). The default
21 value is on (<1>).
22
24 Convert the "README" file using "paras" and "blockcode".
25
26 text2html --paras --blockcode README
27
28 Convert a file called "--stupid-name".
29
30 text2html --paras -- --stupid-name
31
32 Convert text on standard input.
33
34 text2html --paras --urls --email --bold --underline
35
36 Convert text on standard input but turn off "metachars".
37
38 text2html --metachars=0 --lines
39
41 The "text2html" utility exits 0 on success, and >0 if an error occurs.
42
44 perl(1), HTML::FromText(3).
45
47 • Ricardo SIGNES <rjbs@cpan.org>
48
49 • Casey West <casey@geeknest.com>
50
51 • Gareth Rees <garethr@cre.canon.co.uk>
52
54 This software is copyright (c) 2003 by Casey West.
55
56 This is free software; you can redistribute it and/or modify it under
57 the same terms as the Perl 5 programming language system itself.
58
59
60
61perl v5.38.0 2023-07-20 TEXT2HTML(1)