Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14325

Re: Number with sign is read as octal despite a leading 10#

From Isaac Marcos <isaacmarcos100010@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: Number with sign is read as octal despite a leading 10#
Date 2018-07-10 20:44 -0400
Message-ID <mailman.3405.1531269896.1292.bug-bash@gnu.org> (permalink)
References (4 earlier) <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>

Show all headers | 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


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