| autogen - The Automated Program Generator - Ver. 5.2.14
USAGE: autogen [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [ <def-file> ]
Flg Arg Option-Name Description
-L YES templ-dirs Template search directory list
- may appear multiple times
-T YES override-tpl Override template file
- may not be preset
-l YES lib-template Library template file
- may appear multiple times
-b YES base-name Base name for output file(s)
- may not be preset
YES definitions Definitions input file
- disabled as --no-definitions
- enabled by default
- may not be preset
-S YES load-scheme Scheme code file to load
-F YES load-functions Load scheme callout library
-s YES skip-suffix Omit the file with this suffix
- may not be preset
- may appear multiple times
-o opt select-suffix specify this output suffix
- may not be preset
- may appear multiple times
no source-time set mod times to latest source
- disabled as --no-source-time
YES equate characters considered equivalent
no writable Allow output files to be writable
- disabled as --not-writable
- may not be preset
The following options are often useful while debugging new templates:
Flg Arg Option-Name Description
Num loop-limit Limit on increment loops
-t Num timeout Time limit for servers
- must lie within the range:
0 to 3600
KWd trace tracing level of detail
YES trace-out tracing output file or filter
These options can be used to control what gets processed
in the definitions files and template files.
Flg Arg Option-Name Description
-D YES define name to add to definition list
- may appear multiple times
-U YES undefine definition list removal pattern
- an alternate for define
Auto-supported Options:
Flg Arg Option-Name Description
-v opt version Output version information and exit
-? no help Display usage information and exit
-! no more-help Extended usage information passed thru pager
-> opt save-opts Save the option state to an rc file
-< YES load-opts Load options from an rc file
- disabled as --no-load-opts
- may appear multiple times
Options may be specified by doubled hyphens and their name
or by a single hyphen and the flag character (option value).
AutoGen creates text files from templates using external definitions.
The following option preset mechanisms are supported:
- reading file $HOME/.autogenrc
- reading file ./.autogenrc
- examining environment variables named AUTOGEN_*
The valid trace option keywords are:
nothing
templates
block-macros
expressions
everything
The definitions file (`<def-file>') can be specified with the
`definitions' option or as the command argument, but not both.
Omitting it or specifying `-' will result in reading definitions from
standard input.
The output file names are based on the template, but generally use the
base name of the definition file. If standard in is read for the
definitions, then `stdin' will be used for that base name. The
suffixes to the base name are gotten from the template. However, the
template file may specify the entire output file name. The generated
files are always created in the current directory. If you need to
place output in an alternate directory, `cd' to that directory and use
the `--templ_dirs' option to search the original directory.
`loop-limit' is used in debugging to stop runaway expansions.
|