the file has n lot of lines in it. its log file. we should search the word TARG ROW and ")" and hv take out the values resides between these search patern.
in second,3rd,4th.. occurances , the number of values/lines between both the search pattern getting vary
the SED sommsnd should automatically search the both the pattern one by one and pick the values and formate the value row by row like this
Just a example output
123,235,533,343
234,445,3434,343
232,242,23,123,00
@Gopal_Engg:
Did you try out my sed solution?
I gave you a warning for not using CODE tags even I asked for them in my post. Please start using CODE tags accordingly in your future posts, ty.