From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from skinner.cs.wisc.edu ([128.105.1.19]) by archone.tamu.edu with SMTP id <18989>; Tue, 10 Dec 1991 22:33:03 -0600 From: dws@cs.wisc.edu (DaviD W. Sanderson) Message-Id: <9112110432.AA18495@skinner.cs.wisc.edu> Received: by skinner.cs.wisc.edu; Tue, 10 Dec 91 22:32:39 -0600 Subject: Re: A lighter read function To: rc@archone.tamu.edu Date: Tue, 10 Dec 1991 22:32:36 -0600 X-Mailer: ELM [version 2.3 PL11] [Apologies to the list; I am unable to reply to "golem!david"] > exactly the same functionality as the example source, except it > uses line(1) and doesn't do the assignment if the read fails. line(1) is not available everywhere. At least not on the 4.3BSD-utah systems I use. Perhaps rephrasing in terms of `sed 1q' would be better. DaviD W. Sanderson (dws@cs.wisc.edu)