Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 2003 02:09:34 -0500
From:      "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz>
To:        jason@dictos.com
Cc:        questions@freebsd.org
Subject:   Re: Searching contents of files
Message-ID:  <3F962D2E.8080902@daleco.biz>
In-Reply-To: <200310211158.11136.jason@dictos.com>
References:  <200310211158.11136.jason@dictos.com>

next in thread | previous in thread | raw e-mail | index | archive | help
jason dictos wrote:

>Hi All,
>
>   I've always used grep text /*/*/* to recursivly search directories for 
>files with the specified text string in them, however this method doesn't 
>always work very well (sometimes it bails out halfway through with error 
>"Argument list too long"). 
>
>Is there a more effective way to search the contents of files?
>
>Thanks,
>-Jason
>  
>

$grep -r text *

Kevin Kinsey
DaleCo, S.P.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F962D2E.8080902>