I\'ve seen some examples of grepping lines before and after, but I\'d like to ignore the middle lines.
So, I\'d like the line five lines before, but nothing else.
Can this b
-B NUM, --before-context=NUM
Print NUM lines of leading context before matching lines.
Places a line containing -- between contiguous groups of
matches.