From 1d5f3e5d680e3057b476d2a1597b50b266be8b4d Mon Sep 17 00:00:00 2001 From: Jay Lepreau Date: Thu, 17 Oct 1985 09:58:18 -0800 Subject: [PATCH] set PATH so can find tac when run remotely SCCS-vsn: local/tac/tmail.sh 1.2 --- usr/src/local/tac/tmail.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr/src/local/tac/tmail.sh b/usr/src/local/tac/tmail.sh index ef2b55a0cd..a866ca3708 100644 --- a/usr/src/local/tac/tmail.sh +++ b/usr/src/local/tac/tmail.sh @@ -1,8 +1,9 @@ #! /bin/sh -# @(#)tmail.sh 1.1 %G% +# @(#)tmail.sh 1.2 %G% # Print out mail backwards. # Author: Jay Lepreau, Univ of Utah # +PATH=/usr/new:/bin:/usr/bin:/usr/ucb case $# in 0) file=/usr/spool/mail/$USER ;; @@ -13,7 +14,7 @@ case $# in file=$1 fi ;; - *) echo "Usage: $0 [ username ] [ mboxfile ]" + *) echo "Usage: `basename $0` [ username ] [ mboxfile ]" exit 1 ;; esac -- 2.20.1