teeinput
author lcp
Fri, 12 Aug 1994 18:45:33 +0200
changeset 517 a9f93400f307
parent 0 a5a9c433f639
permissions -rwxr-xr-x
for infinite datatypes with arbitrary index sets
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 | $*