On Thu, Sep 7, 2017 at 5:44 AM, Greg Wooledge <address@hidden> wrote:
On Thu, Sep 07, 2017 at 02:32:12PM +0200, Cristian Zoicas wrote:
Could you explain why -u is horrible? Does it have some drawback?
http://mywiki.wooledge.org/BashFAQ/112
At least it's not set -e. set -e has no possible justification at
all. set -u is merely... quirky.
I agree that both are quirky, but even with quirks they're still useful,
and I use them exclusively. "no possible justification" is hyperbole --
plenty of people use them.
I believe MOST serious shell users use set -e.