wpp

The Web Preprocessor - a Perl script to preprocess HTML files

Install

All systems
curl cmd.cat/wpp.sh
Debian Debian
apt-get install wpp
Ubuntu
apt-get install wpp
Windows (WSL2)
sudo apt-get update sudo apt-get install wpp
Raspbian
apt-get install wpp

wpp

The Web Preprocessor - a Perl script to preprocess HTML files

WPP is a small Perl script that allows preprocessing of HTML files. You can define variables, which are abbreviations for longer constructs, and include common HTML fragments. It's useful for giving a uniform layout to different HTML pages. It can be used in cgi-bin programs for automatic generation of pages. With less HTML code inside them you can make more flexible and readable scripts. WPP provides four separate facilities that you can use as you see fit: inclusion of text/HTML fragments, variable expansion, conditional generation, macro expansion. Homepage: http://wpp.sourceforge.net/