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

Re: Reading through files



Gregory L. Snead <gsnead@harlequin.com> wrote:
>   I'm missing something conceptually.  I have a file that I want
> to read through one line at a time and perform some type of
> operation in es using the data read in.  I've read through
> the man page a couple of times and I don't see how I can do this.
> What am I missing?  How do I do this?

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.

Paul