4
0

texify.sed 851 B

12345678910111213141516171819202122232425262728
  1. # Copyright 2006-2007, 2013-2014, 2016-2017 Free Software Foundation,
  2. # Inc.
  3. # This file is part of GNU tar.
  4. # GNU tar is free software; you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation; either version 3 of the License, or
  7. # (at your option) any later version.
  8. # GNU tar is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. # GNU General Public License for more details.
  12. # You should have received a copy of the GNU General Public License
  13. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. 1{s,/\*,@comment ,
  15. b
  16. }
  17. 2,/.*\*\//{s,\*/,,;s/^/@comment/
  18. b
  19. }
  20. /\/* END \*\//,$d
  21. s/\([{}]\)/@\1/g
  22. s,/\*,&@r{,
  23. s,\*/,}&,