| 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\ |
| 17 | .\\" it under the terms of the GNU General Public License as published by\ |
| 18 | .\\" the Free Software Foundation; either version 2 of the License, or\ |
| 19 | .\\" (at your option) any later version.\ |
| 20 | .\\"\ |
| 21 | .\\" TrIPE is distributed in the hope that it will be useful,\ |
| 22 | .\\" but WITHOUT ANY WARRANTY; without even the implied warranty of\ |
| 23 | .\\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\ |
| 24 | .\\" GNU General Public License for more details.\ |
| 25 | .\\"\ |
| 26 | .\\" You should have received a copy of the GNU General Public License\ |
| 27 | .\\" along with TrIPE; if not, write to the Free Software Foundation,\ |
| 28 | .\\" Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\ |
| 29 | .\ |
| 30 | .\\"--------------------------------------------------------------------------\ |
| 31 | .so ../common/defs.man \\"@@@PRE@@@\ |
| 32 | .\ |
| 33 | .\\"-------------------------------------------------------------------------- |
| 34 | p |
| 35 | } |
| 36 | 1,/^\.TH/ d |
| 37 | /^\.SH/i\ |
| 38 | .\ |
| 39 | .\\"-------------------------------------------------------------------------- |
| 40 | /^\.SH/ a\ |
| 41 | . |
| 42 | /^\.S[SH]/ { |
| 43 | /"/ ! s:^\(...\) \(.*\):\1 "\2": |
| 44 | } |
| 45 | $a\ |
| 46 | .\ |
| 47 | .\\"----- That's all, folks -------------------------------------------------- |
| 48 | s:@configdir@:\\*(/c:g |
| 49 | s:@socketdir@:\\*(/s:g |