help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] set -u in an arithmetic context


From: Greg Wooledge
Subject: Re: [Help-bash] set -u in an arithmetic context
Date: Thu, 26 Apr 2012 14:23:37 -0400
User-agent: Mutt/1.4.2.3i

On Thu, Apr 26, 2012 at 10:14:00AM -0600, Bill Gradwohl wrote:
> How? I know there's antagonism towards -u but I don't understand why. I
> looked on Greg's FAQ site but didn't see anything of note.

It's not a major concern like set -e, and doesn't come up nearly as often.
The only page I know off hand that talks about it is
http://mywiki.wooledge.org/BashFAQ/035

And the only reason it's even mentioned on there is because someone
who has a -u habit found that their -u broke the perfectly good example,
and posted their workaround.  Then I cleaned it up, and now it's as
you see it.



reply via email to

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