On Thu, Oct 11, 2012 at 11:46:16AM -0400, Sergey Fadeev wrote:
> But is there a way to tell bash that I want it to check return values of
> command substitutions, too?
if x=$(foo); then
blah blah
fi
If you stop trying to use set -e, your life will become dramatically
simpler.