If there is just one such set that you care about, I'd use frtarget locate /rob/ | take 4 | x: if drop 3 | nlocate ,frank, | x:
If there's multiple sets I would mark them first and then use between Rob On 24 July 2013 14:10, Frank M. Ramaekers <[email protected]> wrote: > In this case, I'm looking for a particular string. When found, I need > that record plus the next three. I don't see an easy way to do this > with PIPEs. Somebody got a straight forward method? > > (Actually, I need the next three records, if the contents of the 3rd > record has a particular string, otherwise I need 4 records.) > > > > TIA, > > Frank M. Ramaekers Jr. | Systems Programmer | Information Technology | > American Income Life Insurance Company | 254-761-6649 > > >
