#!/bin/sh
# Called and used only by the demo shell script.

set -e
set -u

echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">'
echo ''
echo
echo ''
echo ''
echo "Actual timed Mathomatic output from the $@ script"
echo ''
echo ''
echo ''
echo ''

echo ''
echo ''
echo
echo ''

echo "
Actual timed Mathomatic output from the $@ script
"

/usr/bin/time -p mathomatic -dxr "$@" </dev/null 2>&1

echo 'seconds total execution time of this script.'
echo '
'
echo 'More examples (http://www.mathomatic.org/math/adv.html)'
echo 'www.mathomatic.org (http://www.mathomatic.org)'

echo ''
echo ''
