examples/debiandoc2dbk-wrap
raw| 1 | #!/bin/sh |
| 2 | # vim: set sts=4: |
| 3 | # $ editor FOO.en.sgml # remove incompatible comments |
| 4 | # $ debiandoc2dbk-wrap <FOO.en.sgml >FOO-commet.en.sgml |
| 5 | # $ debiandoc2dbk -1 FOO-commet.en.sgml |
| 6 | # $ debiandoc2dbk-unwrap <FOO-commet.en.dbk >FOO.en.dbk |
| 7 | # |
| 8 | # Before using this, you need to remove incompatible comments. |
| 9 | # |
| 10 | sed -e 's/<!--/<p>=====COMMENT=====/' -e 's/-->/=====TNEMMOC=====<\/p>/' |