gen_toc(1M) DG/UX 5.4R3.00 gen_toc(1M)
NAME
gentoc - convert an ASCII table of contents files into XDR format
SYNOPSIS
gentoc inpfile outpref [archname]
where:
inpfile Name of input file containing ASCII text table of contents
outpref Prefix for names of files created by the gentoc command
archname Value to replace architecture ID specified in input file
DESCRIPTION
The gentoc command process an ASCII table of contents file into one
or more XDR-format table of contents files. One output file is
created for each volume specified in inpfile. The output files are
named outpref1.vol1, outpref1.vol2, and so on.
EXAMPLE
Here is an example of a TOC input text file:
TOCExample of 4/1/89 from XYZ Corporation [*]
ARCH 88
VOLUME 1
Vol File Name Size Type
1 0 reserved 0 image
1 1 xdrtoc 0 toc
1 2 reserved 0 image
1 3 exampler.bin 16052 tar / required movable
1 4 exampleu.cmd 0 tar /usr required movable
1 5 exampleu.opt 1000 tar /usr/opt optional movable
1 6 exampleu.sdb 1083 tar /usr required movable
Here is two examples of gentoc command lines:
gentoc tocin xdrtocout 88
gentoc infile xdr386 386
For more detailed information on the format of the TOC file, see
chapter 12 of Porting & Developing Applications on the DG/UX System.
DIAGNOSTICS
This section lists the possible exit codes and what they mean.
0 The operation was successful.
1 The operation was unsuccessful.
SEE ALSO
xdrtoc(1M), xdr(3N), Porting and Developing Applications on the DG/UX
System.
Licensed material--property of copyright holder(s) 1