standard grep question. "The parameter list is too long"
I have a large number of files, sometimes > 1000, in which I want to search for a number. The following returns in error "the parameter list is too long":
grep 12345 /my/path/*
I cannot limit the number of files by using something like "A*" because I need to search all files. So, my question is how would I do to get around the "parameter list is too long" error?
I am using korn-shell on AIX, btw...