removed a bug that occured when a path was specified for use_thy's parameter
and the theory was created in a .ML file
#! /bin/sh
# teeinput -- start a program and log all inputs to a file
# environment variable $LISTEN specifies the file name
tee -a -i $LISTEN | $*