src/Tools/teeinput
author paulson
Thu, 03 Sep 1998 16:40:02 +0200
changeset 5426 566f47250bd0
parent 2774 4b7b38765619
permissions -rwxr-xr-x
A new approach, using simp_of_act and simp_of_set to activate definitions when necessary
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
2774
4b7b38765619 added \n at EOF;
wenzelm
parents: 0
diff changeset
     4
tee -a -i $LISTEN | $*