teeinput
author wenzelm
Thu, 03 Feb 1994 13:59:38 +0100
changeset 259 9c648760dba3
parent 0 a5a9c433f639
permissions -rwxr-xr-x
added type 'syntax'; added syntax_consts (_K, _explode, _implode, ...);
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     1
#! /bin/sh
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     2
#  teeinput -- start a program and log all inputs to a file
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     3
#     environment variable $LISTEN specifies the file name
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     4
tee -a -i $LISTEN | $*