monitoring-plugins icon indicating copy to clipboard operation
monitoring-plugins copied to clipboard

logfile: add `--after-context=NUM` option, similar to `grep`

Open NavidSassan opened this issue 3 years ago • 1 comments

print NUM lines after the match in the output as well. from man grep: Print NUM lines of trailing context after matching lines.

NavidSassan avatar Mar 21 '22 08:03 NavidSassan

Then also implement --before-context=NUM.

markuslf avatar Mar 21 '22 09:03 markuslf