From owner-freebsd-questions Tue Apr 25 14: 0:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dt051n0b.san.rr.com (dt051n0b.san.rr.com [204.210.32.11]) by hub.freebsd.org (Postfix) with ESMTP id E3BD937BA4E for ; Tue, 25 Apr 2000 14:00:51 -0700 (PDT) (envelope-from Doug@gorean.org) Received: from slave (doug@slave [10.0.0.1]) by dt051n0b.san.rr.com (8.9.3/8.9.3) with ESMTP id OAA39097; Tue, 25 Apr 2000 14:00:42 -0700 (PDT) (envelope-from Doug@gorean.org) Date: Tue, 25 Apr 2000 14:00:42 -0700 (PDT) From: Doug Barton X-Sender: doug@dt051n0b.san.rr.com To: Alfred Perlstein Cc: Greg Pavelcak , freebsd-questions@FreeBSD.ORG Subject: Re: Making sh script pause for input In-Reply-To: <20000425141915.G9754@fw.wintelcom.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 25 Apr 2000, Alfred Perlstein wrote: > #!/bin/sh > #(ph33r) > exec 3 > 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