BTW, what is the purpose of the peekto? Wouldn't it work the same just with the callpipe? Is it just meant to trigger the EOF error?
On Sun, Nov 25, 2012 at 10:05 PM, Shimon Lebowitz <[email protected]>wrote: > Oh! Now i understand. > Yes, the first line is a delimiter line, but I already know what that > delimiter is, > I don't need to read the first record to discover what it is. > Sorry if I was unclear. > > Anyway, thank you again for your help! > Shimon > > > > > > On Sun, Nov 25, 2012 at 9:29 PM, Rob van der Heij <[email protected]>wrote: > >> On 25 November 2012 18:16, Shimon Lebowitz <[email protected]> wrote: >> > Rob, >> > Thank you! >> > I did not really understand the point of the first bit of code, >> > adding the * to records seemed unnecessary if I already know the >> delimiting >> > string. >> >> Sure, if you know how the sections are separated, then you can code it >> like that. You phrased it such that it seemed the delimiter was >> defined by the first record of the input file, so I showed off with >> "lookup" :-) >> >> Rob >> > >
