now uses tee -i instead of perl;
authorwenzelm
Tue, 04 Feb 1997 08:59:50 +0100
changeset 2579 4af1023fc6bf
parent 2578 cc768a16ef65
child 2580 e3f680709487
now uses tee -i instead of perl;
lib/scripts/ucat
--- a/lib/scripts/ucat	Tue Feb 04 08:59:17 1997 +0100
+++ b/lib/scripts/ucat	Tue Feb 04 08:59:50 1997 +0100
@@ -3,15 +3,5 @@
 # $Id$
 #
 # ucat - uninterruptible cat.
-#
-# NOTE: If perl is unavailable we simply fall back on normal cat!
 
-
-PERL=$(type -path perl)
-
-if [ -z "$PERL" ]
-then
-  exec cat "$@"
-else
-  exec $PERL -e '$SIG{INT} = "IGNORE"; $| = 1; while (<ARGV>) {print;}' "$@"
-fi
+exec tee -i /dev/null "$@"