teeinput
author clasohm
Fri, 15 Oct 1993 12:51:21 +0100
changeset 58 b30802dfbe80
parent 0 a5a9c433f639
permissions -rwxr-xr-x
file_info now returns a string that does not contain the path/filename (so the string doesn't change when the relative path does)
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 | $*