Re: Arithmetic evaluation of negative numbers with base prefix
From:
Greg Wooledge
Subject:
Re: Arithmetic evaluation of negative numbers with base prefix
Date:
Mon, 17 Jun 2019 11:47:08 -0400
User-agent:
Mutt/1.10.1 (2018-07-13)
On Mon, Jun 17, 2019 at 02:30:27PM +0100, Jeremy Townshend wrote:
> In the meantime it would seem cautionary to advise against the pitfall of
> using base# prefixed to variables (contrary to
> mywiki.wooledge.org/ArithmeticExpression) unless you can be confident that
> they will never be decremented below zero.
Fair point. I've updated <https://mywiki.wooledge.org/ArithmeticExpression>
and <https://mywiki.wooledge.org/BashPitfalls>.