scdoc
Syntax | |||||||||
scdoc --help scdoc table script | |||||||||
Synopsis | |||||||||
Simple script search and replace function. | |||||||||
Options | |||||||||
| |||||||||
Description | |||||||||
The program performs simple search and replace operations on a text file known as a script. The script file contains special tags in the form of HTML comments that are replaced with text taken from a lookup table. The lookup table is an XML database containing a list of tags to search for and the replacement text to subsitute:
The script is an ASCII file and can be either plain text or HTML;
In the above example the two HTML comments are replaced with the text from the lookup table:
The lookup table and script are read from the two files specified on the command line, the resultant output text is written to standard output. This program is primarily used to generate HTML pages for the documentation system. | |||||||||
Examples | |||||||||
Read the lookup table from the file " |