Hacker News new | past | comments | ask | show | jobs | submit login

FYI, `grep -l` will print just the matching filenames, no need for the sed/sort -u. `git grep` and `rg` also support this option. (I say this because I also used to overcomplicate this in my typical usage.)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: