Re: Revisiting Error handling (errexit)

2022-07-09 Thread Yair Lenga
Hi Martin, Long answer - my own view: The old 'errexit' logic was spec'ed many years ago. As far as I can tell, it existed in bash 2.0, from 1996. I think requirements/expectations are different now. The 'exit on error' error handling was good for 1996 - does not meet today's requirement - using b

Re: $(( )): binary/unary VAR/NUM inconsistency

2022-07-09 Thread Chet Ramey
On 7/8/22 5:05 PM, Robert Elz wrote: Date:Fri, 8 Jul 2022 12:08:38 -0400 From:Chet Ramey Message-ID: | This is where folks like kre are going to argue. Am I? I was keeping out of this one! It was a different thread discussing the same subject where I saw

Re: $(( )): binary/unary VAR/NUM inconsistency

2022-07-09 Thread Steffen Nurpmeso
Well i considered this one done upstream. Martin D Kealey wrote in : |On Sat, 9 Jul 2022, 02:08 Chet Ramey, wrote: |> On 7/8/22 11:03 AM, Steffen Nurpmeso wrote: |> |>> So you seem to use your own itoa, and here is (another) bash bug. ... |>> In this hindsight bash should bail with syntax