COMMAND(1)

NAME
enc - encode data file for the IND system

SYNOPSIS
enc [acfnp] stem

enc [acfnp] attribute_file [example_file_in] encoded_file_out

DESCRIPTION

enc encodes an example file in text format (lines of space/tab delimited fields, see attr(1)) into IND's internal format. The attribute file can also be checked and automatically augmented at this stage.

The simplest way to use enc is the command line:
    enc stem
where stem is the file stem for the data. The options allow the various levels of checking and augmenting to be switched on.

To generate an attribute file for a new data set, construct a basic attribute file giving names of attributes, and their basic types, but specify all values to be '?'. Then use the command line:
        enc -accfn stem

OPTIONS

-a  Print an augmentented attribute file to standard output on completion. This will incorporate new values and limits encountered in the data and should be edited into the current attribute file.

-c  Update the symbol table during the encoding to reflect new values and limits encountered. The user will be queried as each new potential modification to the symbol table is encountered as to whether the example file or symbol table is at error. If this option appears twice in the command line then the example file is assumed correct and all potential modifications to the symbol table are accepted without query.

-f  Flag all attributes as being potentially missing values or limits, so allow modifications to them all. Otherwise, modifications and only allowed to specially flagged attributes in the attribute filer, as described in attr(1).

-n  Don't output an encoded example file, just do the checking etc.

-p  Input comes from standard input, so example_file_in is assumed not given.

SEE ALSO
attr(1).