Expand PMF_FN_* macros.
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / mantools / manlint
blob8927d897c4b14b7c1ba29430fd783cfbe9165555
1 #!/bin/sh
3 # manlint - lint manual page 'roff source, stop list in mantools/manlint.stop
5 # example: mantools/manlint man/man?/*
7 grep -n . "$@" | sed -n '
8 s/$/ /
9 # Non-bold manual page references
10 /[a-z][_a-z0-9_]*([0-9])/{
14 # Command examples not enclosed in quotes
15 /[^"]\\fB[a-z][_a-z0-9-]* /{
19 # Missing manual page sections
20 /\\fBanvil\\fR[^-(]/{
24 /\\fBbounce\\fR[^-(]/{
28 /\\fBcleanup\\fR[^-(]/{
32 /\\fBdiscard\\fR[^-(]/{
36 /\\fBerror\\fR[^-(]/{
40 /\\fBflush\\fR[^-(]/{
44 /\\fBlmtp\\fR[^-(]/{
48 /\\fBlocal\\fR[^-(]/{
52 /\\fBmaster\\fR[^-(]/{
56 /\\fBoqmgr\\fR[^-(]/{
60 /\\fBpickup\\fR[^-(]/{
64 /\\fBpipe\\fR[^-(]/{
68 /\\fBpostalias\\fR[^-(]/{
72 /\\fBpostcat\\fR[^-(]/{
76 /\\fBpostconf\\fR[^-(]/{
80 /\\fBpostdrop\\fR[^-(]/{
84 /\\fBpostfix\\fR[^-(]/{
88 /\\fBpostkick\\fR[^-(]/{
92 /\\fBpostlock\\fR[^-(]/{
96 /\\fBpostlog\\fR[^-(]/{
100 /\\fBpostmap\\fR[^-(]/{
104 /\\fBpostqueue\\fR[^-(]/{
108 /\\fBpostsuper\\fR[^-(]/{
112 /\\fBproxymap\\fR[^-(]/{
116 /\\fBqmgr\\fR[^-(]/{
120 /\\fBqmqpd\\fR[^-(]/{
124 /\\fBscache\\fR[^-(]/{
128 /\\fBsendmail\\fR[^-(]/{
132 /\\fBshowq\\fR[^-(]/{
136 /\\fBsmtp\\fR[^-(]/{
140 /\\fBsmtpd\\fR[^-(]/{
144 /\\fBspawn\\fR[^-(]/{
148 /\\fBtlsmgr\\fR[^-(]/{
152 /\\fBtrivial-rewrite\\fR[^-(]/{
156 /\\fBverify\\fR[^-(]/{
160 /\\fBvirtual\\fR[^-(]/{
164 ' | egrep -v ':[a-z][_a-z0-9-]*\([0-9]\),' |
165 fgrep -vf mantools/manlint.stop