SYNOPSIS

wpp [\s-1POSIX\s0 or \s-1GNU\s0 style options] file ...

DESCRIPTION

\s-1WPP\s0 is a small perl5 script that allows preprocessing of html files. It's useful for giving an uniform layout to different html pages. It allows you to define \*(L"variables\*(R", which are abbreviations for longer constructs, and include common html fragments.

\s-1WPP\s0 provides four separate facilities that you can use as you fit: inclusion of templates, variables expansion, conditional generation and macro expansion.

It can be used into cgi scripts for dynamic generation of pages. With less html code inside them you can make more flexible and readable cgi-scripts.

\s-1WPP\s0 is distributed under the terms of the \s-1GNU\s0 General Public License (\s-1GPL\s0). As such, you can use this program free of charge but there is no warranty.

OPTIONS

-c \s-1FILE\s0, --config=\s-1FILE\s0

    Use \s-1FILE\s0 as config file (default is 'config').

-D \s-1CONST\s0=\s-1VAL\s0, -D \s-1CONST\s0, --define \s-1CONST\s0=\s-1VAL\s0, --define \s-1CONST\s0

    Declare a constant \s-1CONST\s0 with the optional associated
    value \s-1VAL\s0.

-d, --depend

    Generate dependencies for make.

-F \s-1FL\s0, --pre-filter=\s-1FL\s0

    Preprocess input data through \s-1FL\s0 filters.
    Each filter should be separated by a pipe ('|') char.
    Example:
      wpp -F "filter1 | filter2 -opt" in.raw

-f \s-1FL\s0, --post-filter=\s-1FL\s0

    Postprocess output data through \s-1FL\s0 filters.
    Each filter should be separated by a pipe ('|') char.
    Example:

wpp -f "filter1 | filter2 -opt" in.raw

-g, --debug

    Enable the debugging output of the internal parser.

-h, --help

    Print the list of command line switches with a short
    description.

-q, --quiet

    Run without printing any message and warning.

-v, --version

    Print the version number of wpp and exit.

-W all, --warn=all

    Enable printing all warnings.

-W none, --warn=none

    Disable warnings.

-W \s-1LEV\s0, --warn=\s-1LEV\s0

    Set warning level \s-1LEV\s0:
      0 = none          4 = notice
      1 = fatal         5 = message
      2 = error         6 = debug
      3 = warning (*)   7 = all

(*) default warning level

-x, --xhtml

    Enable \s-1XHTML\s0 compliant output for built-in macros.

-

    Read raw data from the standard input, html file is
    written to the standard output.

AUTHOR

Marco Lamberto <lm \s-1AT\s0 sunnyspot \s-1DOT\s0 org>

OFFICIAL WEB SITE

http://the.sunnyspot.org/wpp/