|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
AutoGen creates text files from templates using external definitions.
AutoGen is designed for generating program files that contain
repetitive text with varied substitutions. The goal is to simplify the
maintenance of programs that contain large amounts of repetitious text.
This is especially valuable if there are several blocks of such text
that must be kept synchronized.
One common example is the problem of maintaining the code required for processing program options. Processing options requires a minimum of four different constructs be kept in proper order in different places in your program. You need at least: The flag character in the flag string, code to process the flag when it is encountered, a global state variable or two, and a line in the usage text. You will need more things besides this if you choose to implement long option names, configuration file processing, environment variables and so on.
All of this can be done mechanically; with the proper templates and this program.
This chapter was generated by AutoGen,
agtexi-cmd template and the option descriptions for the
This software is released under the GNU General Public License, version 3 or later.
|5.1 autogen help/usage (‘--help’)|
|5.2 input-select options|
|5.3 out-handling options|
|5.4 debug-tpl options|
|5.5 processing options|
|5.6 dep-track options|
|5.7 presetting/configuring autogen|
|5.8 autogen exit status||exit status|
|5.9 autogen Examples||Examples|
|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]|
This document was generated by Bruce Korb on May 18, 2013 using texi2html 1.82.