Hi
I've a input file output looks like this;
Record
"bbbb" = "llll"
"aaaa" = "98874"
"cccc" = "ccccc"
"dddd" = "eeeee"
End Record
Record
"bbbb" = "llll"
"aaaa" = "98874"
"cccc" = "ddddd"
"dddd" = "ffff"
End
Record
"bbbb" = "llll"
"aaaa" = "98984"
"cccc" = "ddddd"
"dddd" = "ffff"
End
I need to print out all lines between Record and End Record if "aaaa" field is "98984"
Any help would be greatly appreciated.
I've a input file output looks like this;
Record
"bbbb" = "llll"
"aaaa" = "98874"
"cccc" = "ccccc"
"dddd" = "eeeee"
End Record
Record
"bbbb" = "llll"
"aaaa" = "98874"
"cccc" = "ddddd"
"dddd" = "ffff"
End
Record
"bbbb" = "llll"
"aaaa" = "98984"
"cccc" = "ddddd"
"dddd" = "ffff"
End
I need to print out all lines between Record and End Record if "aaaa" field is "98984"
Any help would be greatly appreciated.