chiark / gitweb /
Merge remote-tracking branch 'origin/1.0.0pre19.x'
[tripe] / maint-utils / manfix
CommitLineData
fc916a09
MW
1#! /bin/sed -f
2
3/^\.TH/ {
4 i\
5.\\" -*-nroff-*-\
6.\\".\
7.\\" ###DESCRIPTION###\
8.\\"\
9.\\" (c) 2008 Straylight/Edgeware\
10.\\"\
11.\
12.\\"----- Licensing notice ---------------------------------------------------\
13.\\"\
14.\\" This file is part of Trivial IP Encryption (TrIPE).\
15.\\"\
11ad66c2
MW
16.\\" TrIPE is free software: you can redistribute it and/or modify it under\
17.\\" the terms of the GNU General Public License as published by the Free\
18.\\" Software Foundation; either version 3 of the License, or (at your\
19.\\" option) any later version.\
fc916a09 20.\\"\
11ad66c2
MW
21.\\" TrIPE is distributed in the hope that it will be useful, but WITHOUT\
22.\\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\
23.\\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License\
24.\\" for more details.\
fc916a09
MW
25.\\"\
26.\\" You should have received a copy of the GNU General Public License\
11ad66c2 27.\\" along with TrIPE. If not, see <https://www.gnu.org/licenses/>.\
fc916a09
MW
28.\
29.\\"--------------------------------------------------------------------------\
e99aedcf 30.so ../common/defs.man \\"@@@PRE@@@\
fc916a09
MW
31.\
32.\\"--------------------------------------------------------------------------
33 p
34}
351,/^\.TH/ d
36/^\.SH/i\
37.\
38.\\"--------------------------------------------------------------------------
39/^\.SH/ a\
40.
41/^\.S[SH]/ {
42 /"/ ! s:^\(...\) \(.*\):\1 "\2":
43}
44$a\
45.\
46.\\"----- That's all, folks --------------------------------------------------
f7b5d108
MW
47s:@configdir@:\\*(/c:g
48s:@socketdir@:\\*(/s:g