devops-exercises/topics/programming/grep_berfore_and_after.md

2 lines
108 B
Markdown
Raw Normal View History

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