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 c...@case.edu http://tiswww.cwru.edu/~chet/