[techtalk] Limits of grep?

Marie Fischer fmarie at eau.ee
Tue Sep 26 14:46:19 EST 2000


On Tue, 26 Sep 2000, Subba Rao wrote:

> I have a directory of 10000+ text files and would like to search for
> some strings in these files. When I tried using "grep" command with an
> asterisk, I get the error message somthing to the effect,
> 
> 	"File argument list too long"
> 
Might be the shell's limit, too - * expansion is done by the shell. Maybe
try grep -r <directory>

-- 
marie





More information about the Techtalk mailing list