Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15053
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: Arithmetic evaluation of negative numbers with base prefix |
| Date | 2019-06-17 11:47 -0400 |
| Message-ID | <mailman.287.1560786517.10840.bug-bash@gnu.org> (permalink) |
| References | <20190614141947.GB27242@tower> <dc253e63-de07-6c60-7b20-1688286a43d2@case.edu> <20190617133026.GC27242@tower> <20190617154708.GG2072@eeg.ccf.org> |
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>.
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: Arithmetic evaluation of negative numbers with base prefix Greg Wooledge <wooledg@eeg.ccf.org> - 2019-06-17 11:47 -0400
csiph-web