Example(s):
<programlisting language="bourne"><![CDATA[#!/bin/bash set -e PROG=$(basename "$0") VAR1='foo' VAR2="${VAR1}bar" if [[ "${VAR1}" = "${VAR2}" ]] then echo yes else echo no fi exit 0]]></programlisting>
#!/bin/bash
set -e
PROG=$(basename "$0")
VAR1='foo'
VAR2="${VAR1}bar"
if [[ "${VAR1}" = "${VAR2}" ]]
then
echo yes
else
echo no
fi
exit 0