[ILUG] Limits of grep?

Stephen Shirley diamond at csn.ul.ie
Tue Sep 26 12:11:09 IST 2000


> 	"File argument list too long"
> 
> What is the file argument limit for grep? I guess you need the grep source
> for this. I did not find any information in the man page.
> 
ls | {
	while { read args; }; do
		grep "PATTERN" $args
	done
}

That should do it.

Steve





More information about the ILUG mailing list