Table of Contents
Desc - translate sql output to DESCDISK records
Desc <arguments>
<out_file> < list_of_tuples
This program reads a list of tuples
from
stdin and writes
DESCDISK records to the file specified by
<out_file>.
An integer value coded with the record type is written at the beginning
of the output.
The argument processing is done using Unix long
argument syntax.
The <out_file> argument is required.
The program normally
performs it’s work silently. It doesn’t even print a sign on message.
- --verbose=<n>
A verbosity level. The argument is optional. If not provided the verbosity
level defaults to 1. This causes the program to print the signon message
and the option table.
Note that because the argument is optional the equals
sign must be present when the argument is used.
- --help
Print the program help to stderr and exit.
Each input line is
one tuple. The line is terminated with a
newline. Fields within the tuple
are separated by a
|.
The field order is Label, RefName, Units, DataType,
CrtKey, CtlKey, Owner, ScaKey, Access, M, B, MsgName, PhyMin, PhyMax, SpanMin,
SpanMax, IncVal, DataSize, OffSet, DRkey, and Addr.
$Id:
Desc.8,v 1.2 2007/09/13 16:50:32 kitchen Exp $
Table of Contents