update Mon Apr 26 18:37:00 PDT 2010
[pkgsrc.git] / devel / autogen / DESCR
1 AutoGen is a tool designed for generating program files that contain
2 repetitive text with varied substitutions. Its goal is to simplify the
3 maintenance of programs that contain large amounts of repetitious text.
4 This is especially valuable if there are several blocks of such text that
5 must be kept synchronized.
6
7 One common example is the problem of maintaining the code required for
8 processing program options. Processing options requires a minimum of four
9 different constructs be kept in proper order in different places in your
10 program. You need at least:
11
12    1. The flag character in the flag string,
13    2. code to process the flag when it is encountered,
14    3. a global state variable or two, and
15    4. a line in the usage text.