bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grep-dir test


From: Paul Eggert
Subject: Re: grep-dir test
Date: Mon, 19 Dec 2011 09:40:15 -0800
User-agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0

On 12/19/11 09:21, Eli Zaretskii wrote:
> why does it use an empty directory and not an empty file?

Because it's testing that grep does the right thing when
asked to grep a directory.  It doesn't matter that the
directory is empty; all that matters is that it's a
directory.

> The problem with "-f a/" is that on some systems (Windows), one cannot
> fopen a directory.

That should work under Cygwin; is it not working?
If so, it sounds like a Cygwin bug which should get
fixed.  I don't think grep works on Windows outside
the Cygwin environment.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]