Re: local assigned from command substitution disobeys set -eu
From:
Ville Oikarinen
Subject:
Re: local assigned from command substitution disobeys set -eu
Date:
Wed, 31 Dec 2014 09:29:17 +0200
> Cool, another one to add to the wiki page! I am always excited by new
> weapons in the never-ending war against set -e.
>
> This particular issue was also already noted in a more general context on
>http://mywiki.wooledge.org/BashPitfalls -- see entry #27.
Ah, so there is a "workaround", thanks. I'll just use that.
- Ville O.