loading...

re: Seeing Context with `grep` VIEW POST

FULL DISCUSSION
 

You can omit the -A -B -C and just go for

grep -n4 pattern file

To get indexed result with 4 lines above and below

Code of Conduct Report abuse