Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: "Ronald Landheer" <info@rlsystems.net>
To: <cygwin@cygwin.com>
Subject: Grep & recursion
Date: Wed, 12 Sep 2001 15:53:11 +0200
Message-ID: <NFBBLOMHALONCDMPGBLFEEAMCBAA.info@rlsystems.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id JAA04541

Hello (again) all,

I think I've written about this before and not gotten an answer, but I 
could neither find it in a Google search, nor in my own archives - 
which, I should mention, were kinda destroyed two weeks ago :(

I have three GCC compiler sets on my system: DJGPP, Cygwin and MinGW32 - 
the latter of which doesn't include grep. When I use the DJGPP grep to 
search for 'foo' in all my projects under my home dir (from the Bash 
command line that comes with DJGPP) I get a nice listing:
-- BEGIN SNIPPET --
bash-2.04$ grep -rnHi foo *
(..) long, long list of stuff
--- END SNIPPET ---
Doing the same thing under Cygwin, I get this:
-- BEGIN SNIPPET --
Ronald Landheer@ALLY ~
$ grep -rnHi foo *
(..) local text files are searched (if any)
grep: <any dirname>: Permission denied
(..) normal response for Binary files
--- END SNIPPET ---
The versions are the newest available for either (2.4 for DJGPP, 2.4.2 
for Cygwin).

The question: what causes this and what did I do wrong?

Greetz!

Ronald


--
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/

