On Fri, May 30, 2003 at 05:32:06PM -0700, Paul Eggert wrote: > > From: [EMAIL PROTECTED] (Paul Jarc) > > Date: Fri, 30 May 2003 17:39:14 -0400 > > > I suggest making the default "skip with a warning": > > $ mkdir foo > > $ grep pattern foo; echo $? > > grep: foo: skipping directory > > OK, how about this solution instead? > > * Have --directory='read' be the default, but if grep determines that a > read fails because it is reading a directory, it outputs a diagnostic > like this: > > grep: foo: skipping unreadable directory > > grep can then go on to the next file, but it must exit with status 2 if > this diagnostic is generated.
That would be good, I think. Thanks, Marcus -- `Rhubarb is no Egyptian god.' GNU http://www.gnu.org [EMAIL PROTECTED] Marcus Brinkmann The Hurd http://www.gnu.org/software/hurd/ [EMAIL PROTECTED] http://www.marcus-brinkmann.de/ _______________________________________________ Help-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-hurd
