Table of Contents
Box - translate sql output to BOXDISK records
Box <arguments>
<out_file> < list_of_tuples
This program reads a list of tuples
from
stdin and writes
BOXDISK records to a 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, Owner, Permissions,
QueOwner, SizeX, and SizeY.
This program relies on a hardcoded QueOwner
number. Since the whole BoxRec, PadRec thing is weak in AccelNET this will
eventually be changed into something more sensible.
$Id:
Box.8,v 1.3 2007/09/13 16:50:32 kitchen Exp $
Table of Contents