Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

wpp(1) [debian man page]

WPP(1)							User Contributed Perl Documentation						    WPP(1)

NAME
WPP - The Web Preprocessor SYNOPSIS
wpp [POSIX or GNU style options] file ... DESCRIPTION
WPP 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 "variables", which are abbreviations for longer constructs, and include common html fragments. WPP 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. WPP is distributed under the terms of the GNU General Public License (GPL). As such, you can use this program free of charge but there is no warranty. OPTIONS
-c FILE, --config=FILE Use FILE as config file (default is 'config'). -D CONST=VAL, -D CONST, --define CONST=VAL, --define CONST Declare a constant CONST with the optional associated value VAL. -d, --depend Generate dependencies for make. -F FL, --pre-filter=FL Preprocess input data through FL filters. Each filter should be separated by a pipe ('|') char. Example: wpp -F "filter1 | filter2 -opt" in.raw -f FL, --post-filter=FL Postprocess output data through FL 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 LEV, --warn=LEV Set warning level LEV: 0 = none 4 = notice 1 = fatal 5 = message 2 = error 6 = debug 3 = warning (*) 7 = all (*) default warning level -x, --xhtml Enable XHTML 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 AT sunnyspot DOT org> OFFICIAL WEB SITE
http://the.sunnyspot.org/wpp/ perl v5.8.3 2004-07-09 WPP(1)

Check Out this Related Man Page

M4(1)								   User Commands							     M4(1)

NAME
m4 - macro processor SYNOPSIS
m4 [OPTION]... [FILE]... DESCRIPTION
Process macros in FILEs. If no FILE or if FILE is `-', standard input is read. Mandatory or optional arguments to long options are mandatory or optional for short options too. Operation modes: --help display this help and exit --version output version information and exit -E, --fatal-warnings once: warnings become errors, twice: stop execution at first error -i, --interactive unbuffer output, ignore interrupts -P, --prefix-builtins force a `m4_' prefix to all builtins -Q, --quiet, --silent suppress some warnings for builtins --warn-macro-sequence[=REGEXP] warn if macro definition matches REGEXP, default $({[^}]*}|[0-9][0-9]+) -W, --word-regexp=REGEXP use REGEXP for macro name syntax Preprocessor features: -D, --define=NAME[=VALUE] define NAME as having VALUE, or empty -I, --include=DIRECTORY append DIRECTORY to include path -s, --synclines generate `#line NUM "FILE"' lines -U, --undefine=NAME undefine NAME Limits control: -g, --gnu override -G to re-enable GNU extensions -G, --traditional suppress all GNU extensions -H, --hashsize=PRIME set symbol lookup hash table size [509] -L, --nesting-limit=NUMBER change nesting limit, 0 for unlimited [0] Frozen state files: -F, --freeze-state=FILE produce a frozen state on FILE at end -R, --reload-state=FILE reload a frozen state from FILE at start Debugging: -d, --debug[=FLAGS] set debug level (no FLAGS implies `aeq') --debugfile[=FILE] redirect debug and trace output to FILE (default stderr, discard if empty string) -l, --arglength=NUM restrict macro tracing size -t, --trace=NAME trace NAME when it is defined FLAGS is any of: a show actual arguments c show before collect, after collect and after call e show expansion f say current input file name i show changes in input files l say current input line number p show results of path searches q quote values as necessary, with a or e flag t trace for all macro calls, not only traceon'ed x add a unique macro call id, useful with c flag V shorthand for all of the above flags If defined, the environment variable `M4PATH' is a colon-separated list of directories included after any specified by `-I'. Exit status is 0 for success, 1 for failure, 63 for frozen file version mismatch, or whatever value was passed to the m4exit macro. AUTHOR
Written by Rene' Seindal. REPORTING BUGS
Report bugs to: bug-m4@gnu.org GNU M4 home page: <http://www.gnu.org/software/m4/> General help using GNU software: <http://www.gnu.org/gethelp/> COPYRIGHT
Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. SEE ALSO
The full documentation for m4 is maintained as a Texinfo manual. If the info and m4 programs are properly installed at your site, the com- mand info m4 should give you access to the complete manual. GNU M4 1.4.18 December 2016 M4(1)
Man Page