[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.6.3 Output From Non-interactive Applications

If a parameter mode application is not invoked with either of the ‘--interactive’ or ‘--step’ options, then it is deemed to be non-interactive, and therefore does not concern itself with executing shell commands. Instead, it simply specifies a list of output files to be created or updated on its behalf by avram.

The files are described by a list of quadruples ((overwrite,path),(preamble,contents)), with one quadruple for each file.

In each quadruple, the path, preamble, and contents fields have the same interpretations as in the list of files in the input data structure described in Input Data Structure, except that a nil path refers to standard output rather than to standard input.

The overwrite field in each quadruple tells whether the file should be overwritten or appended. If the overwrite field is nil (i.e., the representation for the Boolean value of false) and a file already exists at the given path, the new contents will be appended to it. If the overwrite field is anything other than nil and/or no file exists with the given path, a new file is written or the extant one is overwritten. Note that the data file format specified in File Format precludes appending anything to it, but the format of existing output files is not checked and nothing prevents data or text from being appended to one.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated on December 10, 2012 using texi2html 1.82.