Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15053
| Path | csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
| Newsgroups | gnu.bash.bug |
| Subject | Re: Arithmetic evaluation of negative numbers with base prefix |
| Date | Mon, 17 Jun 2019 11:47:08 -0400 |
| Lines | 9 |
| Approved | bug-bash@gnu.org |
| 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> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| X-Trace | usenet.stanford.edu 1560786519 5507 209.51.188.17 (17 Jun 2019 15:48:39 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| To | bug-bash@gnu.org |
| Envelope-to | bug-bash@gnu.org |
| Mail-Followup-To | bug-bash@gnu.org |
| Content-Disposition | inline |
| In-Reply-To | <20190617133026.GC27242@tower> |
| User-Agent | Mutt/1.10.1 (2018-07-13) |
| X-detected-operating-system | by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] |
| X-Received-From | 139.137.100.1 |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.23 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <https://lists.gnu.org/archive/html/bug-bash> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <20190617154708.GG2072@eeg.ccf.org> |
| X-Mailman-Original-References | <20190614141947.GB27242@tower> <dc253e63-de07-6c60-7b20-1688286a43d2@case.edu> <20190617133026.GC27242@tower> |
| Xref | csiph.com gnu.bash.bug:15053 |
Show key headers only | View raw
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