From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Roxborough To: Gene Fodor Cc: sourcenav@sourceware.cygnus.com Subject: Re: Upgrading windows SN broke grep! Date: Fri, 14 Sep 2001 16:06:00 -0000 Message-id: <3BA29055.9763E56@redhat.com> References: <4.1.20010914154031.00c45bc0@zmail> X-SW-Source: 2001-q3/msg00155.html Gene Fodor wrote: > > It seems as though SN 5.0 is having trouble finding grep. Here is the not > so helpful error message I get: > > -code error -errorinfo couldn't execute "grep": invalid argument > while executing > "open "| ${cmd} " ?nonprintable char?" -errorcode POSIX EINVAL {invalid > argument} couldn't execute "grep": invalid argument Can you run grep from the command line? What do you find if you search for grep.exe in Window explorer find files thingy? > I have a feeling that it is using the wrong grep and have tried a couple of > things to try to get it to see it, but without success. Any ideas? I was > using the Enterprise version (pre-RedHat) of Source Navigator before upgrading. Looks like your going to have to find the right grep and put it on your path in front of which ever grep Sourcen-Navigator is or isn't finding. Ian.