Hacker News new | ask | show | jobs
by pmoriarty 1458 days ago
With zsh:

  grep -iHn 'foo' **/*.txt(.)
Though I'm not sure how to prevent zsh from descending in to other filesystems, as you can with find.