<document source="test data">
<paragraph>
Tests an elementary code block from a file.
<system_message level="1" line="3" source="test data" type="INFO">
<paragraph>
No directive entry for "code_block" in module "Text::Restructured::Directive".
Trying "code_block" as canonical directive name.
<parsed_literal xml:space="preserve">
<emphasis>
#!/bin/sh
\n\
<strong>
# Parse options:
<strong>
# -h <path> High priority run-time path
\n\
<emphasis>
while
\n\
<emphasis>
getopts
h: c
<emphasis>
do
\n\
<emphasis>
case
$c \n\
<emphasis>
in
h) PATH_H=$OPTARG
\n\
<emphasis>
esac
<emphasis>
done
\n\
<strong>
# Use relative path so script will work in different people's repositories
\n\
PATH_REQ=/_TOOLS_/arch/bin:/_TOOLS_/plat/perl-5.8.0-tx32-64int-latest/bin:/bin:/usr/bin
<emphasis>
PATH
=$PATH_H:.:../../../../bin:../../../bin:../../../../src:../../../src:/bin:/_TOOLS_/dist/gnu-make-3.80/i686-pc-linux2.4/bin/:/_TOOLS_/dist/moto-gress-/latest/all/bin:$PATH_REQ
<emphasis>
export
\n\
<emphasis>
PATH
\n\
<emphasis>
cd
\n\
<emphasis>
`dirname $0`