[Top][All Lists]

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

Re: Grep --directories option

From: Stepan Kasal
Subject: Re: Grep --directories option
Date: Fri, 30 May 2003 14:06:01 +0200
User-agent: Mutt/


On Fri, May 30, 2003 at 01:49:27PM +0200, Alfred M. Szmidt wrote:
> cat works differently on GNU/Linux and GNU/Hurd, might be worth taking
> a peek at how it does this stuff.

exactly the same way as grep-2.4.2: it doesn't treat dirs specifically.

It tries to open the file, if it's OK, it proceeds, if there is an error,
it reports it.

(grep-2.5.* concealed these errors; the code prints the error only if
the file is not directory)

Have a nice day,
        Stepan Kasal

reply via email to

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