From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sunic.sunet.se ([192.36.125.2]) by archone.tamu.edu with SMTP id <18915>; Tue, 17 Sep 1991 07:11:01 -0500 Received: by sunic.sunet.se (5.61+IDA/KTH/LTH/1.202) id AAsunic09148; Tue, 17 Sep 91 14:10:49 +0200 Received: by analytikerna.se (4.1/SMI-4.1) id AA03739; Tue, 17 Sep 91 10:04:54 +0200 Date: Tue, 17 Sep 1991 03:04:54 -0500 From: bk@analytikerna.se (Bengt KLEBERG) Message-Id: <9109170804.AA03739@analytikerna.se> To: rc@archone.tamu.edu Subject: Re: is there any clever way of doing 'read' in rc scripts? Hi, The simple `{head -1} can then be wrapped into fn read { head -1 } and used like this var = `read There are probably snags. Please let me know when you find them. (Is this so simple that it wouldn't fit in the rc library?) Best Wishes, Bengt