This is the sample file, I would like to check if "field5" exists in file, if exists check if 67890 exits, if exists then print corresponding values for "field5"
sample output:
112
START
field1
field2
field3
field4
field5
field6
END
12345|5|1|2|3|4|111|555
67890|5|6|7|8|9|112|000