[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading through files



>Date: 	Tue, 20 Jun 1995 03:56:31 -0400
>From: haahr@netcom.com (Paul Haahr)

>Loren James Rittle's answer (read the whole file with backquote, iterate
>through the lines) should work just fine.  However, with es-0.9-alpha1,
>there is a new answer, the %read primitive, which was urged on me by the
>readers of this list.  It should do want you want.

Of course!  I have lived without %read for so long that I forgot
it had been added recently.  Yes, I agree that for some problem
sizes, %read should be considered before the approach that dumps
the entire file into the environment.  Also, %read allows interactive
uses that were really hard to do under es before %read was added.

Regards,
Loren