[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grep . /; echo $?
From: |
Benno Schulenberg |
Subject: |
Re: grep . /; echo $? |
Date: |
Fri, 04 Nov 2005 16:30:02 +0100 |
User-agent: |
KMail/1.8.3 |
Andreas Schwab wrote:
> Benno Schulenberg <address@hidden> writes:
> > (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 just what strerror(EISDIR) returns, which has no
> information about the actual operation that failed.
But grep has this information: it knows what it was trying to do, so
it could replace the standard message with something more specific.
Benno
- Re: grep . /; echo $?, Charles Levert, 2005/11/02
- Re: grep . /; echo $?, Julian Foad, 2005/11/02
- Re: grep . /; echo $?, Charles Levert, 2005/11/03
- Re: grep . /; echo $?, Benno Schulenberg, 2005/11/03
- Re: grep . /; echo $?, Charles Levert, 2005/11/03
- Re: grep . /; echo $?, Andreas Schwab, 2005/11/03
- Re: grep . /; echo $?,
Benno Schulenberg <=
- Re: grep . /; echo $?, Andreas Schwab, 2005/11/04
- Re: grep . /; echo $?, Julian Foad, 2005/11/04
- Re: grep . /; echo $?, Charles Levert, 2005/11/04
- Re: grep . /; echo $?, Julian Foad, 2005/11/08
- Exit statuses and errors messages (was Re: grep . /; echo $?), Charles Levert, 2005/11/08
- Re: Exit statuses and errors messages (was Re: grep . /; echo $?), Charles Levert, 2005/11/08
- Re: Exit statuses and errors messages (was Re: grep . /; echo $?), Julian Foad, 2005/11/09
- Re: grep . /; echo $?, Benno Schulenberg, 2005/11/04
- Re: grep . /; echo $?, Charles Levert, 2005/11/04
- Re: grep . /; echo $?, Julian Foad, 2005/11/04