4

Parsing and filtering multiline text into comma separated line

view full story
linux-howto

http://www.unix.com – I have a log file that contains several reports with following format. <Start of delimiter> Report1 header Report1 header continue Report1 header continue Record1 header Record1 header continue Record1 header continue field1 field2 field3 field4 ------ ------ ------ ------ value1 value2 value3 value4 Record1 header Record1 header continue Record1 header continue field5 field6 field7 field8 field9 ------ ------ ------ ------ ------ value5 value6 value7 value8 value9 Record1 header Record1 header continue Recor (HowTos)