help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] catching read error conditions


From: Mart Frauenlob
Subject: Re: [Help-bash] catching read error conditions
Date: Mon, 28 Jan 2013 18:27:24 +0100
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130107 Thunderbird/17.0.2

On 28.01.2013 17:48, Chet Ramey wrote:
On 1/28/13 11:43 AM, Mart Frauenlob wrote:

So if i do like

(($? > 128)) && printf "timeout reached, or signal received\n"

will that be correct and generic enough, if I write a bash-only script?

Yes, that would work.


Thank you very much for your kind assistance.

Best regards

Mart



reply via email to

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