summaryrefslogtreecommitdiffstats
path: root/mantools/makereadme
blob: de066c1e01d7f985ecefc4f30868dbfec16d9300 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

sed '
	s/<\/*table[^>]*>//g
	s/<\/th[^>]*>//g
	s/<\/td[^>]*>//g
	s/"\([A-Z0-9_]*\)\.html">/&\1:/
	s/All main.cf parameters/postconf(5): &/
	/All Postfix manual pages/d
' "$@"