man8db/Box

Table of Contents

Name

Box - translate sql output to BOXDISK records

Synopsis

Box <arguments> <out_file> < list_of_tuples

Description

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.

Arguments

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.

Input Tuple

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.

Notes

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.

Manual page revision

$Id: Box.8,v 1.3 2007/09/13 16:50:32 kitchen Exp $


Table of Contents