bug-bash
[Top][All Lists]
Advanced

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

Re: How difficult would it be to add a timeout to "wait"?


From: Chet Ramey
Subject: Re: How difficult would it be to add a timeout to "wait"?
Date: Fri, 21 Apr 2023 11:37:41 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

On 4/21/23 11:34 AM, Dale R. Worley wrote:

My interest here isn't "Can I accomplish this task with Bash?" but quite
literally, Can I make this a *feature* of Bash so I don't have to set up
the mechanics?  (I already know of a couple of other ways to do it with
Bash.)

My point is that if it's easy enough -- and it is -- to do it without
adding features to bash itself, then there's not a compelling argument,
nor sufficient demand, to add more code to bash.

So then fleshing this out, let me ask:  Is it reasonable to add an
optional timeout to the "wait" builtin using this mechanism?

See above.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/




reply via email to

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