From: Gregory Brown Date: 2007-02-22T10:59:39+09:00 Subject: Re: Parsing a file with look ahead On 2/21/07, S. Robert James wrote: > Thanks! BTW, looking at the Rdoc, it seems each_cons is what I want, > no? If you are dealing with paired lines, use enum_slice(2) if you are dealing with data dependent on the current and previous line, use each_cons, yes.