| 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 | .\\"\ |
| 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.\ |
| 20 | .\\"\ |
| 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.\ |
| 25 | .\\"\ |
| 26 | .\\" You should have received a copy of the GNU General Public License\ |
| 27 | .\\" along with TrIPE. If not, see <https://www.gnu.org/licenses/>.\ |
| 28 | .\ |
| 29 | .\\"--------------------------------------------------------------------------\ |
| 30 | .so ../common/defs.man \\"@@@PRE@@@\ |
| 31 | .\ |
| 32 | .\\"-------------------------------------------------------------------------- |
| 33 | p |
| 34 | } |
| 35 | 1,/^\.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 -------------------------------------------------- |
| 47 | s:@configdir@:\\*(/c:g |
| 48 | s:@socketdir@:\\*(/s:g |