How can I find 2 patterns in a log file on different lines but only if they are a matching pair (start and end of a task in this case) – Ubuntu
To start, I have done a lot of googling and tried grep, sed and awk, but was not able to find a solution with either. My goal is to find 2 patterns in a log file, but only if each…