From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from hawkwind.utcs.toronto.edu ([128.100.102.51]) by archone.tamu.edu with SMTP id <18942>; Mon, 16 Sep 1991 16:59:56 -0500 Received: from localhost by hawkwind.utcs.toronto.edu with SMTP id <2685>; Mon, 16 Sep 1991 17:59:32 -0400 To: rc@archone.tamu.edu Subject: is there any clever way to do 'read' in rc scripts? Date: Mon, 16 Sep 1991 16:59:18 -0500 From: Chris Siebenmann Message-Id: <91Sep16.175932edt.2685@hawkwind.utcs.toronto.edu> I've recently run into a situation where I really, really could use an rc equivalent of the sh read command in a script, and I can't figure out how to do this. Any number of methods will work ... if you're getting input from the keyboard. At least on Ultrix, all of them gobble some or all of the remaining input if invoked on a pipe or a file. Any clever ideas, anyone? - cks