From: Todd C. Miller Date: Tue, 27 Aug 2019 14:09:28 +0000 (-0600) Subject: Add conditional for sesh path in sudo.conf manual. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb95a35edc641e222a195043221c3893359af303;p=sudo Add conditional for sesh path in sudo.conf manual. --- diff --git a/MANIFEST b/MANIFEST index ba9a0036d..e9b8ff2dd 100644 --- a/MANIFEST +++ b/MANIFEST @@ -29,6 +29,7 @@ doc/schema.OpenLDAP doc/schema.iPlanet doc/schema.olcSudo doc/sudo.conf.man.in +doc/sudo.conf.man.in.sed doc/sudo.conf.mdoc.in doc/sudo.man.in doc/sudo.man.in.sed diff --git a/doc/sudo.conf.man.in.sed b/doc/sudo.conf.man.in.sed new file mode 100644 index 000000000..2534bc893 --- /dev/null +++ b/doc/sudo.conf.man.in.sed @@ -0,0 +1,15 @@ +s/^\(.TH .*\)/.nr SL @SEMAN@\ +\1/ + +/^\.TP 10n$/ { + N + /^.TP 10n\nsesh$/ { + i\ +.if \\n(SL \\{\\ + } +} + +/^\\fI@sesh_file@\\fR\.$/ { + a\ +.\\} +}