Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site cybvax0.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!cybvax0!fbp
From: fbp@cybvax0.UUCP (Rick Peralta)
Newsgroups: net.unix
Subject: Re: 2.8 Bourne shell question
Message-ID: <758@cybvax0.UUCP>
Date: Tue, 17-Sep-85 12:15:00 EDT
Article-I.D.: cybvax0.758
Posted: Tue Sep 17 12:15:00 1985
Date-Received: Wed, 18-Sep-85 04:04:14 EDT
References: <1450@uwmacc.UUCP> <5939@utzoo.UUCP> <213@redwood.UUCP>
Reply-To: fbp@cybvax0.UUCP (Rick Peralta)
Organization: Cybermation, Inc., Cambridge, MA
Lines: 17
Summary: 

>
>> I tried this litle shell script on my 2.8BSD Bourne shell:
>> 	read word < foo
>> and it didn't do what I thought it would do...
>> Is it possible to read from files?  Is this just a 2.8 bug?
>It's a defect in old Bourne shells... recent (SysV) shells have fixed this.
>Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,linus,decvax}!utzoo!henry
>
YAH (Yet Another Hack) would be to:

	a=`cat file`
	echo $a


Rick  ...!cybvax0[!dmc0]!fbp

"A likely story.  I don't believe a word of it."