Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 2000 14:00:42 -0700 (PDT)
From:      Doug Barton <Doug@gorean.org>
To:        Alfred Perlstein <bright@wintelcom.net>
Cc:        Greg Pavelcak <gpav@som.umass.edu>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Making sh script pause for input
Message-ID:  <Pine.BSF.4.21.0004251359030.39091-100000@dt051n0b.san.rr.com>
In-Reply-To: <20000425141915.G9754@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 25 Apr 2000, Alfred Perlstein wrote:

> #!/bin/sh
> #(ph33r) 
> exec 3<contractsS00
> 
> while read LOGNUM CLASS LNAME FNAME GPA MAJOR 0<&3 ;
> do 
> 	echo $FNAME $LNAME ;
> 	echo -n "Status? " ;
> 	read STATUS ;
> 	echo "$LOGNUM $CLASS $LNAME $FNAME $GPA $MAJOR $STATUS" >> newfile ;
> done 

	ph33r ind33d. 

-- 
Excess on occasion is exhilarating.  It prevents moderation from
acquiring the deadening effect of a habit.
                -- W. Somerset Maugham



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0004251359030.39091-100000>