/usr/bin/axiom-test is in axiom-test 20140801-12.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | #!/bin/bash
PD=axiom-20140801
export AXIOM=/usr/lib/$PD;export PATH=$AXIOM/bin:$PATH
if [ $# -gt 0 ] ; then
j=$@
else
j=""
for i in /usr/lib/$PD/input/*.input; do j="$j $(basename $i | sed 's,\.input$,,1')"; done
fi
k=$(tempfile --suffix=.input)
trap "rm -f $k" exit
for i in $j ; do
cat >$k <<EOF
)set message test on
)set message auto off
)read /usr/lib/$PD/input/$i.input
)lisp (by)
EOF
echo "systemCommand \"read $k\"" | /usr/lib/$PD/bin/AXIOMsys
done
|