Mail Archives: cygwin/2002/06/26/06:59:51
Now that there is a Korn shell for Cygwin, I am completing
a switchover from MKS Toolkit, which takes a different,
native-win32 approach that is (mostly) not compatible with
Cygwin.
One difficulty I have found, however, is limitations (or so
it would seem) on the number of arguments that the command
"grep" can take. In a directory I have with over 4300 files,
"grep FOOBAR *" exits with: "bash: /usr/bin/grep: Invalid
argument", though it can handle more limited searches (e.g.,
"grep FOOBAR 2000-12*"), and the MKS grep has no problem
with grepping the entire directory, so it would appear to
be a problem with handling arguments generally. The files
in the directory are named with letters and numbers only,
no spaces, and none longer than 40-50 characters.
Have others found this as well, and are there workarounds?
Tom
--
Dr. Thomas Baker Thomas DOT Baker AT bi DOT fhg DOT de
Institutszentrum Schloss Birlinghoven mobile +49-171-408-5784
Fraunhofer-Gesellschaft work +49-30-8109-9027
53754 Sankt Augustin, Germany fax +49-2241-14-2619
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -