teeinput
author lcp
Tue, 06 Jun 1995 10:33:32 +0200
changeset 1143 0dfb8b437f5d
parent 0 a5a9c433f639
permissions -rwxr-xr-x
Now string_of_vname checks for the empty variable name, catching the exception LIST.
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 | $*