[13728] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: 7.7TOM: tellme

daemon@ATHENA.MIT.EDU (Tom Yu)
Wed Aug 9 21:48:55 1995

Date: Wed, 9 Aug 1995 21:48:51 -0400
To: bugs@MIT.EDU
In-Reply-To: "[13727] in Athena Bugs"
From: Tom Yu <tlyu@MIT.EDU>

I suggest the following patch:
--- /usr/athena/bin/tellme	Tue Jul 25 17:53:28 1995
+++ /tmp/tellme	Wed Aug  9 21:44:04 1995
@@ -1,7 +1,7 @@
 #!/bin/sh
 
-while [ $1 ]; do
-	case "$1" in
+for i do
+	case "$i" in
 
 	root)
 		if [ -f /etc/athena/rc.conf ]; then
@@ -22,9 +22,8 @@
 		;;
 
 	*)
-		echo "I don't know about "$1"."
+		echo "I don't know about \"$i\"."
 		;;
 
 	esac
-	shift
 done

home help back first fref pref prev next nref lref last post