On 12/10/23 12:12 AM, Martin D Kealey wrote:

And sometimes Bash isn't the thing that needs fixing. Maybe the manual needs to be clearer that "#" is not an "operator" like "+" or "/" but rather part of an unsigned integer constant (and that "-" is NOT part of such a constant).

That syntax is documented as part of the description of an integer
constant. The `+' or `-' operators aren't mentioned anywhere in that
description. `#' not listed in the table of arithmetic operators. The
`base#' is described as optional, while the `n' following it is not. How
much clearer do you want it to be?


--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to