Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14325
| Path | csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Isaac Marcos <isaacmarcos100010@gmail.com> |
| Newsgroups | gnu.bash.bug |
| Subject | Re: Number with sign is read as octal despite a leading 10# |
| Date | Tue, 10 Jul 2018 20:44:50 -0400 |
| Lines | 29 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.3405.1531269896.1292.bug-bash@gnu.org> (permalink) |
| References | <CA+n9pTy7vSPUA0j-bDF9_eWF0XysePRDAFckgvvHX8haSWv7KQ@mail.gmail.com> <c8ae5df2-b6b3-438f-bd99-4618f6b2d3c0@Spark> <71850c03-54d3-6a7e-1d29-136950d9e139@iki.fi> <a0b100e7-3e14-e56e-8ffb-fcaeca587bf1@case.edu> <CA+n9pTwOZNdmWqEYwE5cDohArgvZ285vSt-F=hw=ZGb8weO2qA@mail.gmail.com> <471822f3-4484-59b5-0433-fc394dc9b34a@case.edu> <CA+n9pTzNU4stJykWKAJkPzwwrkmxzirWmuUT_xA9U=ZWsh3nMQ@mail.gmail.com> <CAOSMAutyKDe7QqVHLQ_jFBzZ09hiOwz_LfkoCVYXpDGVNohm0Q@mail.gmail.com> <CA+n9pTxfKTmmqPabZ+XMqk4PPhiX4x_yQy-W6TnyndR3iBO-HA@mail.gmail.com> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| X-Trace | usenet.stanford.edu 1531269897 19355 208.118.235.17 (11 Jul 2018 00:44:57 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| Cc | Eduardo Bustamante <dualbus@gmail.com>, Chet Ramey <chet.ramey@case.edu> |
| To | bug-bash <bug-bash@gnu.org>, bash@packages.debian.org |
| Envelope-to | bug-bash@gnu.org |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=+RPoE0f3fxf/Rwz4O/YtVW+roi/HqhaBXKWjNm2PdsA=; b=Q7YZR0iTgq9ubF826of6ND2kNSuEf8D3VZsH1Tt+rB9N0wF6t/wC1nMTcCR5qlFJnu cIFboDWp1rFvhg7ei+jQXh5WgFBq0lpp0IAzrPLAV8YtUkrMpV/vyrnI0jiFW+yRrSzc XOoO1o3etR1msQoI9Ao5aV5hbb1gK3gkvhYg3d5HGQHjcGZeLnkiPgwfad1Wf2PEYeoq s4W10vOvtDdxTOXY1+NXERiWdnr6R5BAshevPrzWPnvi/M5wi5f1Txol85S8zmdM5hGL VQZI9l4aaAhI/FNTsL2b869/1JBIB0jfKB1Sv8duoItIjIWekz1bsAZDp7WVGJlHTUo0 +30Q== |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=+RPoE0f3fxf/Rwz4O/YtVW+roi/HqhaBXKWjNm2PdsA=; b=A7KjAFrmds/SvYc0jIFVNuZuf9vK/AbNk9jsR5iR34zH7EgcH93v6KzqGcSqkP24iF ZmsFPS7KwgvsK3Cr/Nh5pMt2tWKkrgdPAkv79AxajMaPG30+mPlvT3tygK2dF0wRi2Dz 7gXH9I0wSb2YKQhyoGGKq18U2GNIYEJ8aigRzzxHxm2KRjyL4gphu3nFmJmsg42G8viq 16PSwJR6YELzoT+tZupiInF7uYmlATT49lWTO150j9fmXi7+vZyAKRBd+8POfDs36rTG 0YpJDkow+exebIK6DgEMD/u74NdFX8dTNLU8xZeu/JocZS++8zhQxC4c2Iyigx92NSAb M30A== |
| X-Gm-Message-State | APt69E2+hh8IXwH66Ofx3JNEi29hItZTcUMjs8Ln+8mnFNceK2Nfdbb2 7Bqme/d5YzfO8kq4p/ct5Wp/wRRv/3nDp0JZx7WTUCZ1 |
| X-Google-Smtp-Source | AAOMgpcIZeUAaic991hzyKriM0MkN9cx8zlPV8kZTKu0BqcypYg2fD2BmBdIJPnNC7ZZug6R+W2ildbozbNn2gACD84= |
| X-Received | by 2002:ac8:1738:: with SMTP id w53-v6mr25913177qtj.421.1531269891509; Tue, 10 Jul 2018 17:44:51 -0700 (PDT) |
| In-Reply-To | <CA+n9pTxfKTmmqPabZ+XMqk4PPhiX4x_yQy-W6TnyndR3iBO-HA@mail.gmail.com> |
| X-detected-operating-system | by eggs.gnu.org: Genre and OS details not recognized. |
| X-Received-From | 2607:f8b0:400d:c0d::22d |
| X-Content-Filtered-By | Mailman/MimeDel 2.1.21 |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.21 |
| 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 | <http://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> |
| Xref | csiph.com gnu.bash.bug:14325 |
Show key headers only | View raw
According to Chet, the definition > is the same as the ISO C standard. I'm not sure if there's a public > version of the ISO C standard document, but > http://c0x.coding-guidelines.com/6.4.4.1.html seems to be good enough. > The definition of an "integer constant" in that document does not > include a sign. > > That is a description of the inability (or unwillingness) to raise above c limitations. Let me state that even better. That's like saying that because the only tool known is a hammer, then, using an screw is not possible with a hammer and therefore it is a bad idea to invent one. Just silly. > I'll just use some other shell. > > -- Cases are always threesome: Best case, Worst case, and Just in case
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: Number with sign is read as octal despite a leading 10# Isaac Marcos <isaacmarcos100010@gmail.com> - 2018-07-10 20:44 -0400
csiph-web