: create UNix command listings
: use tocrc to create tocx[1568]
: say sh tocrc 1 I
: sh tocrc 5 V
: sh tocrc 6 VI
: sh tocrc 8 VIII
: this file produces
: tocx168 original sorted command listing
: toc168 - list of unix commands with macro calls for nroff
: ptxun - permuted index of unix commands with macro calls for nroff
sort tocx[168]>tocx168
ed - tocx168
1,$s/([IV]*) /&" "/
1,$s/) /)/
1,$s/.*/.xx "&"/
w toc168
q
cat tocx?>catoc
ptx -t catoc ptxun
rm catoc
