bug-bash
[Top][All Lists]
Advanced

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

Re: Suggested BASH Improvement


From: Chet Ramey
Subject: Re: Suggested BASH Improvement
Date: Wed, 18 Sep 2024 14:03:24 -0400
User-agent: Mozilla Thunderbird

On 9/18/24 1:10 PM, Greg Wooledge wrote:

Thanks for the proposal. I think the [base#]n syntax is reasonable
here without adding a new shell option.

Do recall, however, that negative numbers break the workaround suggested
by Andreas.

     $((10#${line:12:2}))

Not part of the original problem statement.

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



reply via email to

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