DEV Community

Discussion on: Seeing Context with `grep`

Collapse
 
moopet profile image
Ben Sinclair

As an aside, ripgrep and ack can do what you want with the --passthru flag:

rg --passthru magic example.txt