Go to the first, previous, next, last section, table of contents.


`extract' - extract text from another file

Usage: (extract file-name marker-fmt [ caveat ] [ default ])
This function is used to help construct output files that may contain text that is carried from one version of the output to the next.

The resulting strings are presumed to be unique within the subject file. As a simplified example:

[+ (extract "fname" "// %s - SOMETHING - %s" ""
"example default") +]

will result in the following text being inserted into the output:

// START - SOMETHING - DO NOT CHANGE THIS COMMENT
example default
// END   - SOMETHING - DO NOT CHANGE THIS COMMENT

The "example default" string can then be carried forward to the next generation of the output, provided the output is not named "fname" and the old output is renamed to "fname" before AutoGen-eration begins.

Arguments:
file-name - name of file with text
marker-fmt - format for marker text
caveat - Optional - warn about changing marker
default - Optional - default initial text


Go to the first, previous, next, last section, table of contents.