On Sun, Nov 13, 2011 at 11:17:52PM +0000, David Holland wrote:
> pkgsrc has grown to the point where the following happens:
> 
>    valkyrie% pwd
>    /usr/pkgsrc
>    valkyrie% grep foo */*/Makefile
>    /usr/bin/grep: Argument list too long.
>    Exit 1

Use: grep -r --include Makefile foo .
But don't forget the '.' - should be the default with -r
(or at least an error).

        David

-- 
David Laight: [email protected]

Reply via email to