Thanks.

On 6/16/2014 5:31 PM, Marc Andre Selig wrote:
On 06/16/2014 11:05 PM, Kevin A. McGrail wrote:
BTW anyone know what set -ex does in practice in a shell script?
In bash, set -ex will set both -e (abort on error) and -x (print trace).
While -x is just cosmetics for debugging, -e changes script semantics
quite a bit.  This is just a complicated noop:

#!/bin/bash
set -e
false
echo hi

Regards,
Marc


Reply via email to