plan9fox/sys/lib/man/permind/dopermind
2011-05-04 09:02:04 +00:00

65 lines
1.1 KiB
Bash
Executable file

#!/bin/rc
{echo -n $FONTS; cat <<'!'} | troff
.so /sys/lib/tmac/tmac.s
.nr LL 6.5i
.nr LT 6.5i
.so mac
.XX "" 1 "Permuted Index"
.nr zz \n(%#u-1u
.nr PN \n(%#u
.de PT
.lt \\n(LLu
.pc %
.nr PN \\n%u+\\n(zzu
.if \\n%-1 .if o \\*(%o
.if \\n%-1 .if e \\*(%e
.lt \\n(.lu
..
.de BT
.nr PN \\n%u+\\n(zzu
.nr PX \\n(.s
.nr PF \\n(.f
.ft 1
.ps \\n(PS
'lt \\n(LTu
.po \\n(POu
.if o \\*(%O
.if e \\*(%E
.ft \\n(PF
.ps \\n(PX
..
.nr HM \n(HMu-10p
.nr FO \n(FOu+10p
.de xx
.if !""\\$1" \{\
.ie !""\\$2" \\$1\ \fI\a\ \fR\\$2\t\\$3\ \fI\a\fR\t\\$5\t\\$6
.el \\$1\ \fI\a\fR\\$2\t\\$3\ \fI\a\fR\t\\$5\t\\$6\}
.if !""\\$4" \t\\$2\t\\$3\ \fI\a\ \fR\\$4\t\\$5\t\\$6
.if ""\\$1\\$4" \t\\$2\t\\$3\ \fI\a\fR\t\\$5\t\\$6
..
.TL
PERMUTED INDEX
.SP 2
.LP
Manual pages for all sections are accessible on line through
.I man (1).
.LP
To save space, neighboring references to the same page
have been collapsed into
a single reference.
This should cause no difficulty in cases like
`atan' and `atan2', but is somewhat obscure in the case
of `strcat' and `strchr'.
.sp
.SP
.LP
.SM
.nr VS 9
.vs \n(VSp
.nf
.ta 2.6iR 2.7iL 5.3iR 6.15iR 6.5iR
.fp 2 I I
.cs I 24
.so permindex
!