1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
s/^\(.TH .*\)/.nr SL @SEMAN@\ \1/ /^\.TP 10n$/ { N /^.TP 10n\nsesh$/ { i\ .if \\n(SL \\{\\ } } /^\\fI@sesh_file@\\fR\.$/ { a\ .\\} }