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