[comp.unix.questions] Redirection

pjh@mccc.UUCP (Pete Holsberg) (07/19/89)

In a shell script (Bourne, SV), it is possible to redirect into a read
statement that's in a loop like this:

	while
		read x
	do
		<......>
	done < file
	
but not like this:

	while
		read x < file
	do
		<.....>
	done
	
How come???  Please email and I will post a summary if tere's any interest.

Thanks.

-- 
Pete Holsberg -- Mercer College -- Trenton, NJ 08690
...!rutgers!njin!princeton!njsmu!mccc!pjh