devops-exercises/exercises/programming/grep_berfore_and_after.md

2 lines
108 B
Markdown
Raw Permalink Normal View History

2020-06-15 09:41:32 +03:00
Implement the following grep command in Python (numbers can be different): `grep error -A 2 -B 2 some_file`