Hacker News new | ask | show | jobs
by svedin 960 days ago
ripgrep has a --passthru flag that does exactly this

  tail -f access.log | rg --passthru '\.jpg'
3 comments

Brilliant, this looks like exactly what I want. I already use ripgrep a lot, so I should have guessed it had this feature already but wouldn't have known what to search for to find it! Thank you
I have that aliased to `hl` in my bashrc
As does ack