dopermind 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. #!/bin/rc
  2. {echo -n $FONTS; cat <<'!'} | troff
  3. .so /sys/lib/tmac/tmac.s
  4. .nr LL 6.5i
  5. .nr LT 6.5i
  6. .so mac
  7. .XX "" 1 "Permuted Index"
  8. .nr zz \n(%#u-1u
  9. .nr PN \n(%#u
  10. .de PT
  11. .lt \\n(LLu
  12. .pc %
  13. .nr PN \\n%u+\\n(zzu
  14. .if \\n%-1 .if o \\*(%o
  15. .if \\n%-1 .if e \\*(%e
  16. .lt \\n(.lu
  17. ..
  18. .de BT
  19. .nr PN \\n%u+\\n(zzu
  20. .nr PX \\n(.s
  21. .nr PF \\n(.f
  22. .ft 1
  23. .ps \\n(PS
  24. 'lt \\n(LTu
  25. .po \\n(POu
  26. .if o \\*(%O
  27. .if e \\*(%E
  28. .ft \\n(PF
  29. .ps \\n(PX
  30. ..
  31. .nr HM \n(HMu-10p
  32. .nr FO \n(FOu+10p
  33. .de xx
  34. .if !""\\$1" \{\
  35. .ie !""\\$2" \\$1\ \fI\a\ \fR\\$2\t\\$3\ \fI\a\fR\t\\$5\t\\$6
  36. .el \\$1\ \fI\a\fR\\$2\t\\$3\ \fI\a\fR\t\\$5\t\\$6\}
  37. .if !""\\$4" \t\\$2\t\\$3\ \fI\a\ \fR\\$4\t\\$5\t\\$6
  38. .if ""\\$1\\$4" \t\\$2\t\\$3\ \fI\a\fR\t\\$5\t\\$6
  39. ..
  40. .TL
  41. PERMUTED INDEX
  42. .SP 2
  43. .LP
  44. Manual pages for all sections are accessible on line through
  45. .I man (1).
  46. .LP
  47. To save space, neighboring references to the same page
  48. have been collapsed into
  49. a single reference.
  50. This should cause no difficulty in cases like
  51. `atan' and `atan2', but is somewhat obscure in the case
  52. of `strcat' and `strchr'.
  53. .sp
  54. .SP
  55. .LP
  56. .SM
  57. .nr VS 9
  58. .vs \n(VSp
  59. .nf
  60. .ta 2.6iR 2.7iL 5.3iR 6.15iR 6.5iR
  61. .fp 2 I I
  62. .cs I 24
  63. .so permindex
  64. !