Re: Tips to match multiple patterns from from a single file .

2017-07-23 Thread woooee
You want to find strings on multiple lines of a file, and possible multiple string groups within a file (you didn't say). So you will have to check each line and store anything you want to keep for each file, and you will have to add the code to cycle through the files, so it is something along

Tips to match multiple patterns from from a single file .

2017-07-23 Thread Ganesh Pal
I have hundreds of file in a directory from all of which I need to extract multiple values namely filename with pathname (which start with test*), 1,1,25296896:8192 ( only the one containing pattern corrupting), before corruption( it’s a hex value), offset(digit), size(digit) Sample file c