Matthias Klose wrote:
> 
> ------------------------------------------------------------------------
> 
> Subject:
> Bug#320036: bash exits 0 on errors reading stdin (and perhaps other scripts)

No shell behaves as the submitter describes.  Read errors are translated
to EOF, and the shell exits.  The exit value is $?, which is changed by
the last command (pipeline) executed or by a signal.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live...Laugh...Love
Chet Ramey, ITS, CWRU    [EMAIL PROTECTED]    http://cnswww.cns.cwru.edu/~chet/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to