[SunHELP] grep with large directory

Dale Ghent daleg at elemental.org
Tue Apr 9 09:40:44 CDT 2002


On Tue, 9 Apr 2002, Sangbutsarakum, Patai wrote:

| I need to use grep of Solaris 2.6  to capture many files in 2GB-directory.
| but grep complain about 'too long list'. Is there any grep-compatible or
| any version that can handle enormous number of files in large directory.?
| Please suggest.

for i in *; do grep somestring /dev/null $i; done

/dale



More information about the SunHELP mailing list