tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bumping ARG_MAX



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: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index