help-hurd
[Top][All Lists]
Advanced

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

Re: Grep --directories option (POSIX)


From: Paul Eggert
Subject: Re: Grep --directories option (POSIX)
Date: 02 Jun 2003 13:23:42 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

prj@po.cwru.edu (Paul Jarc) writes:

> Solaris allows read() on a directory,

Yes in some cases, but not always.  It depends on the filesystem.

> but you get the raw binary data.  Reading by default here, though
> possible, is probably not a good idea.

I don't see why it's a bad idea.  By default grep will output either
'Binary file matches' or nothing; sometimes this is useful
information.  It normally costs little to do the read.




reply via email to

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