# The Regents of the University of California. All rights reserved.
# %sccs.include.redist.sh%
# @(#)tocrc 8.1 (Berkeley) %G%
trap "rm $tmp ; exit" 2 3 15
: tocx files
for all sections and everything
else
for x
in 1 2 3 4 5 6 7 8; do
/usr
/libexec
/getNAME
-t `cat man$x` |
: permuted index and toc files
cat tocx
* cshcmd
> /tmp
/cattoc
ptx -r -t -b break -f -w 108 -i ignore
/tmp
/cattoc ptxx
for x
in 1 2 3 4 5 6 7 8; do
grep '^intro' <tocx
$x >$tmp