bug-grep
[Top][All Lists]
Advanced

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

Re: grep . /; echo $?


From: Charles Levert
Subject: Re: grep . /; echo $?
Date: Thu, 3 Nov 2005 18:38:33 -0500
User-agent: Mutt/1.4.1i

* On Thursday 2005-11-03 at 23:56:32 +0100, Benno Schulenberg wrote:
> Charles Levert wrote:
> > [...]
> > src/grep: src: Is a directory

> (The message itself is a bit strange though: it doesn't sound like 
> an error.  "Cannot read a directory" would be better.)

The message is inherited from strerror(EISDIR).
That's the reason why it doesn't make any
mention of the system call that failed (read(),
in this case).




reply via email to

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