teeinput
author lcp
Thu, 07 Oct 1993 09:49:46 +0100
changeset 36 70c6014c9b6f
parent 0 a5a9c433f639
permissions -rwxr-xr-x
examples now use ~= for "not equals"

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