Expand PMF_FN_* macros.
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / mantools / makepostconflinks
blobef61d1c14399df72a9341671e2d1d2ea67cfb4e4
1 #!/bin/sh
3 postconf -d | awk '
5 BEGIN {
6 # Skip lines with <hN>..</hN>.
7 print "\t/<\\/*[Hh][0-9]+>/{\n\t\tp\n\t\td\n\t\t}"
9 # Skip lines with <a name="...">.
10 print "\t/<[Aa] [Nm][Aa][Mm][Ee]=/{\n\t\tp\n\t\td\n\t\t}"
12 # Skip lines with <DT> or <DT>.
13 print "\t/<[Dd][Tt]>/{\n\t\tp\n\t\td\n\t\t}"
15 # Skip lines with <a href="...">.
16 print "\t/<[Aa] [Hh][Rr][Ee][Ff]=/{\n\t\tp\n\t\td\n\t\t}"
18 # XXX debugger_command is not listed in postconf output.
19 print "\ts;[[:<:]]debugger_command[[:>:]];<a href=\"postconf.5.html#debugger_command\">debugger_command</a>;g"
24 # Do not hyperlink word(digit).
26 printf "\ts;[[:<:]]%s[[:>:]];<a href=\"postconf.5.html#%s\">%s</a>;g\n",
27 $1, $1, $1