1TEXT2HTML(1)          User Contributed Perl Documentation         TEXT2HTML(1)
2
3
4

NAME

6       text2html - Convert plain text to HTML
7

SYNOPSIS

9       text2html [options...] [file ...]
10

DESCRIPTION

12       The "text2html" utility converts text to HTML. Text can come from
13       standard input or files listed on the command line.
14
15       The available options are outlined in HTML::FromText. The option syntax
16       is slightly different. Options are prefixed with two dashes ("--") and
17       may have an option value following an equals sign ("=").  The default
18       value is on (<1>).
19

EXAMPLES

21       Convert the "README" file using "paras" and "blockcode".
22
23         text2html --paras --blockcode README
24
25       Convert a file called "--stupid-name".
26
27         text2html --paras -- --stupid-name
28
29       Convert text on standard input.
30
31         text2html --paras --urls --email --bold --underline
32
33       Convert text on standard input but turn off "metachars".
34
35         text2html --metachars=0 --lines
36

DIAGNOSTICS

38       The "text2html" utility exits 0 on success, and >0 if an error occurs.
39

SEE ALSO

41       perl(1), HTML::FromText(3).
42

AUTHOR

44       Casey West <casey@geeknest.com>.
45
47         Copyright (c) 2003 Casey West. All rights reserved. This module is
48         free software; you can redistribute it and/or modify it under the same
49         terms as Perl itself.
50
51
52
53perl v5.12.0                      2003-09-26                      TEXT2HTML(1)
Impressum