Blame view

mu-aux/texify.sed 776 Bytes
1
# Copyright (C) 2002, 2003, 2007, 2010 Free Software Foundation, Inc.
Sergey Poznyakoff authored
2 3 4
#
# GNU Mailutils is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
5
# published by the Free Software Foundation; either version 3, or (at
Sergey Poznyakoff authored
6 7
# your option) any later version.
#
8
# GNU Mailutils is distributed in the hope that it will be useful, but
Sergey Poznyakoff authored
9 10 11 12 13
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
14
# along with GNU Mailutils.  If not, see <http://www.gnu.org/licenses/>. 
Sergey Poznyakoff authored
15 16 17 18 19 20 21 22

1{s/\/\*/@comment  /
b
}
2,/\//{s/\*\///;s/^/@comment/
b
}
s/\([{}]\)/@\1/g