Search and print result along with earlier information
I have total 30 test result files, each having 12 iterations in it. The structure of the file is as below: File1_loc/result.txt # starting information # User information # Time stamps # Random infomration # Thousnads of lines in between # ----------------- Iteration 1 ---------------------- # $Test show addr 0x2341233 data 0x241341 # $Test matches Pass # $Test show addr 0x123324 data 0x223245 # $Test matches Pass # Few hundreds line # $Test time: ERROR: Results_dont_Match Loc: Actual=31ABCDEF Expected=21ABCDE # ******:time ns: CHANGE ERROR COUNT TO: 1 # $Test show addr 0x2341233 data 0x241341 # $Test matches Pass # $Test show addr 0x123324 data 0x223245 # $Test matches Pass # Few hundreds line # ---------------------------------------------------- # ----------------- Iteration 2 ---------------------- # $Test show addr 0x2341233 data 0x241341 # $Test matches Pass # $Test show addr 0x123324 data 0x223245 # $Test matches Pass # Few hundreds line # $Test time: ERROR: Results_dont_...