1 !|test.util.CallScript|
2 |call script|!-rm etc/Testdocument.tex |true-!|
3 |call script|mdoc-extract etc/Testdocument.xml default|
4 |call script|grep "nicht cl1-text" etc/Testdocument.tex|
5 |call script|mdoc-extract etc/Testdocument.xml cl1|
6 |call script|grep "cl1-Text" etc/Testdocument.tex|
7 |call script|mdoc-extract etc/Testdocument.xml cl1.1|
8 |call script|grep "cl1.1-Text" etc/Testdocument.tex|
9 |call script|grep "cl1.1+cl2-Text" etc/Testdocument.tex|
10 |call script|mdoc-extract etc/Testdocument.xml cl2|
11 |call script|grep "cl2-Text" etc/Testdocument.tex|
12 |call script|grep "cl1.1+cl2-Text" etc/Testdocument.tex|
14 mdoc-extract writes into named file
16 !|test.util.CallScript|
17 |call script|!-rm out.txt |true-!|
18 |call script|mdoc-extract etc/Testdocument.xml default out.txt|
19 |call script|ls out.txt|