teeinput
author lcp
Thu, 06 Apr 1995 10:51:42 +0200
changeset 998 91d09e262799
parent 0 a5a9c433f639
permissions -rwxr-xr-x
Gave tighter priorities to if, napply and the let-forms to reduce ambiguities.

#! /bin/sh
#  teeinput -- start a program and log all inputs to a file
#     environment variable $LISTEN specifies the file name
tee -a -i $LISTEN | $*