devops-exercises/topics/programming/grep_berfore_and_after.md
abregman 99c4e02ecf Rename exercises dir
Name it instead "topics" so it won't be
strange if some topics included "exercises" directory.
2022-08-02 01:53:56 +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`