Y
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
philo23
960 days ago
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
link
zem
959 days ago
I have that aliased to `hl` in my bashrc
link
jpitz
959 days ago
As does ack
link