http://www.perlmonks.org?node_id=184257


in reply to Re: dgrep - Wrapper around gnu find & grep
in thread dgrep - Wrapper around gnu find & grep

Lest filenames with spaces, newlines or other funky bits in them trip you, you might want to get into the habit of coupling find and xargs with their respective nullbyte-termination parameters (see manpages): find . -name \*.pm -print0 | xargs -0 grep foo ____________
Makeshifts last the longest.