in reply to Print a previous to previous of a matching line
You may be asking the wrong question. It appears that you want to consider two fields from each "logical record". If you could parse your data file first into records and then into fields, your strange requirement would disapear.
Bill
|
---|
In Section
Seekers of Perl Wisdom