teeinput
author lcp
Tue, 28 Feb 1995 10:33:52 +0100
changeset 916 d03bb9f50b3b
parent 0 a5a9c433f639
permissions -rwxr-xr-x
New example by Jacob Frost, tidied by lcp

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