From: Todd C. Miller Date: Wed, 1 Aug 2012 19:28:02 +0000 (-0400) Subject: Fix HP-UX, just use ".TH name section" like the vendor manuals. X-Git-Tag: SUDO_1_8_6^2~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=acba09fbbfe2bbeb227743073796c741c9886bb3;p=sudo Fix HP-UX, just use ".TH name section" like the vendor manuals. --- diff --git a/doc/fixman.sh b/doc/fixman.sh index 225899a01..b32beb89f 100755 --- a/doc/fixman.sh +++ b/doc/fixman.sh @@ -7,7 +7,7 @@ rm -f "$OUTFILE" # HP-UX friendly header/footer for all man pages if [ X"`uname 2>&1`" = X"HP-UX" ]; then cat >>"$OUTFILE" <<-'EOF' - s/^\.TH \("[^"]*"\) \("[^"]*"\) "\([^"]*\)" "\([^"]*\)" \("[^"]*"\)/.TH \1 \2 "" \5\ + s/^\.TH \("[^"]*"\) \("[^"]*"\) "\([^"]*\)" "\([^"]*\)" \("[^"]*"\)/.TH \1 \2\ .ds )H \4\ .ds ]W \3/ EOF