Annotation of src/share/me/index.me, Revision 1.1
1.1 ! deraadt 1: .nr _0 \n(c.
! 2: .\" Copyright (c) 1988 The Regents of the University of California.
! 3: .\" All rights reserved.
! 4: .\"
! 5: .\" Redistribution and use in source and binary forms, with or without
! 6: .\" modification, are permitted provided that the following conditions
! 7: .\" are met:
! 8: .\" 1. Redistributions of source code must retain the above copyright
! 9: .\" notice, this list of conditions and the following disclaimer.
! 10: .\" 2. Redistributions in binary form must reproduce the above copyright
! 11: .\" notice, this list of conditions and the following disclaimer in the
! 12: .\" documentation and/or other materials provided with the distribution.
! 13: .\" 3. All advertising materials mentioning features or use of this software
! 14: .\" must display the following acknowledgement:
! 15: .\" This product includes software developed by the University of
! 16: .\" California, Berkeley and its contributors.
! 17: .\" 4. Neither the name of the University nor the names of its contributors
! 18: .\" may be used to endorse or promote products derived from this software
! 19: .\" without specific prior written permission.
! 20: .\"
! 21: .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
! 22: .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
! 23: .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
! 24: .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
! 25: .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
! 26: .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
! 27: .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
! 28: .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
! 29: .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
! 30: .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! 31: .\" SUCH DAMAGE.
! 32: .\"
! 33: .\" @(#)index.me 5.1 (Berkeley) 4/17/91
! 34: .\"
! 35: .\" %beginstrip%
! 36: .\"
! 37: .de (x \" *** begin index entry
! 38: .if \n@>4 .tm >> (x, .z=\\n(.z
! 39: .ds |X x
! 40: .if \\n(.$>0 \
! 41: . ds |X \\$1
! 42: .\" please note these cases MUST be in this order
! 43: .ie !"\\n(.z"" \
! 44: \{\
! 45: . ev 2 \" if in a diversion, save & process later
! 46: \!.(x \\*(|X
! 47: .rm |X
! 48: .\}
! 49: .el \
! 50: \{\
! 51: . am %\\*(|X )x
! 52: . sp \\n(xsu
! 53: . ti -\\n(piu
! 54: .\}
! 55: ..
! 56: .de )x \" *** end index entry
! 57: .if \n@>4 .tm >> )x, .z=\\n(.z
! 58: .ie "\\n(.z"" \
! 59: \{\
! 60: . ds |x \\n%
! 61: . if \\n(.$>0 \
! 62: . ds |x \\$1
! 63: . if "\\*(|x"_" \
! 64: . ig ..
! 65: . am %\\*(|X ..
! 66: . if \w"\\$2">(\\n(.l-\\n(.i-\\n(.k) \
! 67: . ti +\\n(xuu
! 68: \\\\a\\\\t\\$2\\*(|x
! 69: ...
! 70: . rm |x
! 71: . rm |X
! 72: .\}
! 73: .el \
! 74: \{\
! 75: \!.)x \\$1 \\$2
! 76: . br \" if in a diversion, save & process later
! 77: . ev
! 78: .\}
! 79: ..
! 80: .de xp \" *** print the index
! 81: .br
! 82: .@C 2
! 83: .ls 1
! 84: .vs \\n(.su*\\n($Ru
! 85: .fi
! 86: .in +\\n(piu
! 87: .ds |X x
! 88: .if \\n(.$>0 \
! 89: . ds |X \\$1
! 90: .xl -(\\n(xuu+\w'...'u)
! 91: .di |x
! 92: .%\\*(|X
! 93: .br
! 94: .di
! 95: .rm %\\*(|X
! 96: .xl \\n($lu
! 97: .rm |X
! 98: .ev
! 99: .nf
! 100: .in 0
! 101: .ta \\n(.lu-\\n(xuuR \\n(.luR
! 102: .|x
! 103: .fi
! 104: .in
! 105: .rm |x
! 106: ..
! 107: .if \n(xu<=0 \
! 108: . nr xu 0.5i \" index undent
! 109: .nr c. \n(_0