bug-bash
[Top][All Lists]
Advanced

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

Re: simple function causes BASH to exit when -e in effect


From: Bob Proulx
Subject: Re: simple function causes BASH to exit when -e in effect
Date: Sun, 24 Dec 2017 12:45:45 -0700
User-agent: Mutt/1.9.2 (2017-12-15)

Kevin Layer wrote:
> It took me hours of work to distill this down from a very large and long
> running script.

> set -eu

Hours and hours of debug time could be saved if people stopped using
'set -e' in their programs.  It creates more problems than people
think it solves.  Do not meddle in the affairs of 'set -e' for it is
subtle and quick to anger.

Bob



reply via email to

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