[aklug] Re: bash die

From: Jeremy Austin <jhaustin@gmail.com>
Date: Wed Sep 15 2010 - 16:44:11 AKDT

> On Wed, Sep 15, 2010 at 1:16 PM, Christopher Howard <choward@indicium.us>wrote:
>
>> Say you have a bash script where if any command fails, the scripts
>> should stop. What would be the sensible way to deal with that?

At the risk of exposing my ignorance (consider yourself flashed), is
it too cumbersome to check exit codes? For a short script this is my
chosen method. I don't think Chris described the size of the project,
which would have a bearing on the scale.

Interesting innit.

jermudgeon
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Wed Sep 15 16:44:39 2010

This archive was generated by hypermail 2.1.8 : Wed Sep 15 2010 - 16:44:39 AKDT