etc/services - sync with NetBSD-8
[minix.git] / external / bsd / libevent / man / fixman
blob5d90400b455ea1719dc3b46311ab1ede5191b94d
1 #!/bin/sh
2 SED="$1"
3 in="$2"
4 out="$3"
5 name="${in##*/}"
7 case "${name}" in
8 ev*|bufferev*) ev=;;
9 *) ev=ev;;
10 esac
12 ${SED} \
13 -e "s@event2/${name%.3}@${ev}${name%.h.3}@g" \
14 -e '/^\.SH SYNOPSIS/,/^\.PP/ {
15 /^.PP/a\
16 \\fC#include <event2/'${name%.h.3}'\\\&.h>\\fP\
17 .br
18 }' < "${in}" > "${out}"