A collection of directives and statements.
Syntax
{ directive | statement }...
Notes
directive
|
a command to the preprocessor.
|
statement
|
the text that is processed by the preprocessor.
|
A \ (line continuation character) may be used at the end of a
directive or statement to indicate that the directive or statement continues
on the next line. This operator is normally used to break up long lines into
multiple small lines.
Example
pp -i templates -d TITLE=Support index.tf index.html
pp -d UNIX index.tf index.html
index.tf
#include <header.tf>
This page was generated using iPP.
#include <footer.tf>
header.tf
<html>
<head>
<title>TITLE</title>
</head>
<body>
<h1>TITLE</h1>
<hr>
footer.tf
</body>
</html>
|