[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] catching read error conditions
From: |
Chet Ramey |
Subject: |
Re: [Help-bash] catching read error conditions |
Date: |
Mon, 28 Jan 2013 10:59:49 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 |
On 1/28/13 8:32 AM, Greg Wooledge wrote:
> Well, any of the ways of testing the exit status should suffice.
> Also note that you can't distinguish a failure-due-to-timeout from
> other kinds of failures.
Not quite true. The manual says:
"The exit status is greater than 128 if the timeout is exceeded."
That does narrow the error space.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/
- [Help-bash] catching read error conditions, Mart Frauenlob, 2013/01/26
- Re: [Help-bash] catching read error conditions, Greg Wooledge, 2013/01/28
- Re: [Help-bash] catching read error conditions,
Chet Ramey <=
- Re: [Help-bash] catching read error conditions, Mart Frauenlob, 2013/01/28
- Re: [Help-bash] catching read error conditions, Chet Ramey, 2013/01/28
- Re: [Help-bash] catching read error conditions, Mart Frauenlob, 2013/01/28
- Re: [Help-bash] catching read error conditions, Chet Ramey, 2013/01/28
- Re: [Help-bash] catching read error conditions, Mart Frauenlob, 2013/01/28
- Re: [Help-bash] catching read error conditions, Dan Douglas, 2013/01/28
- Re: [Help-bash] catching read error conditions, Dan Douglas, 2013/01/28
- Re: [Help-bash] catching read error conditions, Mart Frauenlob, 2013/01/29
- Re: [Help-bash] catching read error conditions, Steven W. Orr, 2013/01/28
Re: [Help-bash] catching read error conditions, Mart Frauenlob, 2013/01/28