devops-exercises/exercises/grep_berfore_and_after.md
2020-06-15 09:41:32 +03:00

2 lines
108 B
Markdown

Implement the following grep command in Python (numbers can be different): `grep error -A 2 -B 2 some_file`