Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can use -print0 and -0 to handle spaces.

    find . -name \*.java -print0 |xargs -0 grep something


Much more error prone.




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

Search: