teeinput
author lcp
Fri, 17 Jun 1994 17:47:42 +0200
changeset 428 49cc52442678
parent 0 a5a9c433f639
permissions -rwxr-xr-x
problem 38 is provable

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