One of the most FAQ of all times.
Archive of posts tagged matching
Before and after match in awk
Get lines that are n lines before or after a match.
One of the most FAQ of all times.
Get lines that are n lines before or after a match.