teeinput
author lcp
Mon, 27 Feb 1995 17:47:44 +0100
changeset 910 822e57491612
parent 0 a5a9c433f639
permissions -rwxr-xr-x
Added the exception handler handle _ => exit 1. This will catch all errors and force an exit with error code, causing Make to fail.

#! /bin/sh
#  teeinput -- start a program and log all inputs to a file
#     environment variable $LISTEN specifies the file name
tee -a -i $LISTEN | $*