texify.sed 852 B

1234567891011121314151617181920212223242526
  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. 1{s,/\*,@comment ,
  17. b
  18. }
  19. 2,/.*\*\//{s,\*/,,;s/^/@comment/
  20. b
  21. }
  22. /\/* END \*\//,$d
  23. s/\([{}]\)/@\1/g
  24. s,/\*,&@r{,
  25. s,\*/,}&,