teeinput
author clasohm
Thu, 26 May 1994 13:37:51 +0200
changeset 396 18c9c28d0f7e
parent 0 a5a9c433f639
permissions -rwxr-xr-x
changed use_string's type to string list -> unit because POLY can only handle one command per string
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 | $*