set -e

# check shell.

testf () {
    echo $10
}

testf a b c d e f g h i j | (
read A
if [ "${A}" != "a0" ] ; then
    echo 'POSIX non-compliance: parses $10 as ${10} instead of ${1}0'
    exit 1
else
    echo 'POSIX compliant'
fi

) 

