Jan-04-2021, 11:23 AM
Hey Community,
i am trying to read a log file and want to analyze all the parts between two substrings which appear always before and after the interesting part.
example:
xxx event start ffff
interest1
interest2
interest3
sssss event end ttttt
uninteresting
unintersting
vvvvv event start lllll
interest4
interest5
interest6
yyyy event end oooo
...
I would like to have each "interesting part" as a list, which contains each interesting line of this part.
If anyone could help me it would be great.
Thanks a lot and happy new year!
i am trying to read a log file and want to analyze all the parts between two substrings which appear always before and after the interesting part.
example:
xxx event start ffff
interest1
interest2
interest3
sssss event end ttttt
uninteresting
unintersting
vvvvv event start lllll
interest4
interest5
interest6
yyyy event end oooo
...
I would like to have each "interesting part" as a list, which contains each interesting line of this part.
If anyone could help me it would be great.
Thanks a lot and happy new year!