bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [EXT] Re: Bash 5.1: rl_readline_version = 0x801 (shouldn't it be 0x0


From: L A Walsh
Subject: Re: [EXT] Re: Bash 5.1: rl_readline_version = 0x801 (shouldn't it be 0x0801 ?)
Date: Wed, 09 Dec 2020 12:31:32 -0800
User-agent: Thunderbird

On 2020/12/08 04:40, Greg Wooledge wrote:
On Tue, Dec 08, 2020 at 09:47:05AM +0100, Andreas Schwab wrote:
On Dez 07 2020, Testing Purposes wrote:

From an integer standpoint, I know that 08 (with one leading zero) is the
same as 8.
Nope, it is a syntax error.

In a bash math context or in C, 08 is indeed a syntax error, as it is
an octal integer constant with an invalid digit ("8").

In mathematics, 08 is just 8.

But the subject says 0x08(01), not 08.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]