2 TEST_DIR
=/Users
/cejohnsonlouisville
/Documents
/docutils
/trunk
/sandbox
/paultremblay
/functional
3 rst_files
=`find ${TEST_DIR} -name '*txt'`
4 for rst_file
in $rst_files
7 rsttoxml.py
$rst_file | xmlformat.pl
> my_rst.xml
8 rst2xml.py
--no-xml-declaration --no-doctype --no-generator --trim-footnote-reference-space $rst_file | xmlformat.pl
> standard_rst.xml
9 diff my_rst.xml standard_rst.xml
13 TEST_DIR
=/Users
/cejohnsonlouisville
/Documents
/docutils
/trunk
/sandbox
/paultremblay
/test_files
/
14 rst_files
=`ls ${TEST_DIR}/*rst`
15 for rst_file
in $rst_files
18 rsttoxml.py
$rst_file | xmlformat.pl
> my_rst.xml
19 rst2xml.py
--no-xml-declaration --no-doctype --no-generator --trim-footnote-reference-space $rst_file | xmlformat.pl
> standard_rst.xml
20 diff my_rst.xml standard_rst.xml