]> git.cworth.org Git - tar/blob - doc/texify.sed
Imported Upstream version 1.20
[tar] / doc / texify.sed
1 # Copyright (C) 2006, 2007 Free Software Foundation, Inc.
2 #
3 # GNU tar is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU General Public License as
5 # published by the Free Software Foundation; either version 3, or (at
6 # your option) any later version.
7 #
8 # GNU tar is distributed in the hope that it will be useful, but
9 # WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 # General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with GNU tar; if not, write to the Free Software
15 # Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
16
17 1{s,/\*,@comment ,
18 b
19 }
20 2,/.*\*\//{s,\*/,,;s/^/@comment/
21 b
22 }
23 /\/* END \*\//,$d
24 s/\([{}]\)/@\1/g
25 s,/\*,&@r{,
26 s,\*/,}&,