help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] Question :: bash read with timeout only works once?


From: Chet Ramey
Subject: Re: [Help-bash] Question :: bash read with timeout only works once?
Date: Sat, 05 Oct 2013 17:25:41 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.0

On 10/4/13 6:35 PM, Philip Van-Houtte wrote:

> I have a problem with reads using timeouts. Either in shell, sub-shell or
> script it seems "read with timeout" will only work once, i.e. if I have
> multiple read with timeout statements only the first will be able to
> timeout and the second will hang...

I can't reproduce this with bash-4.2 or bash-4.1 with various forms of
invocation.

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/



reply via email to

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