Re: Fwd: Strange results

2023-10-27 Thread Victor Pasko
See my comments below inline On Fri, Oct 27, 2023 at 2:50 AM Kerin Millar wrote: > On Fri, 27 Oct 2023 02:00:01 +0700 > Victor Pasko wrote: > > > -- Forwarded message - > > From: Victor Pasko > > Date: Fri, Oct 27, 2023 at 1:57 AM >

Fwd: Strange results

2023-10-26 Thread Victor Pasko
-- Forwarded message - From: Victor Pasko Date: Fri, Oct 27, 2023 at 1:57 AM Subject: Re: Strange results To: Dennis Williamson Also echo10 ${ASCII_SET:$((-10)):1} and echo11 ${ASCII_SET:-10:1} have different behaviour:( Both of these say "output the character that's

Strange results

2023-10-26 Thread Victor Pasko
Hi, Attached please find bug2.bash. Here are results % bash --version GNU bash, version 5.2.15(3)-release (x86_64-pc-cygwin) % ./bug2.bash ASCII_SET-size=95 echo1 u echo2 u echo3 u echo4 97 echo5 u echo6 85 echo7 -10 echo8 -10 See some strange results below echo9 u echo10 u And the most strange

Re: math operations with base#prefix

2023-09-19 Thread Victor Pasko
Thanks for your response. In my opinion, in let "<>" and $((<>)) constructs all variables should be evaluated, so that $-sign for them is to be just optional On Tue, Sep 19, 2023 at 2:28 AM Chet Ramey wrote: > On 9/17/23 3:59 PM, Victor Pasko wrote: > > Hi, >

Re: math operations with base#prefix

2023-09-17 Thread Victor Pasko
Hi, Could you please take a look at attached bug.bash. Maybe, not all math combinations were presented there or the test has duplications somehow. Here are results of several runs with test# as argument *% bash --version*GNU bash, version 5.2.15(3)-release (x86_64-pc-cygwin) Good test without

Re: Fwd: Some incorrect behaviour for BASH arrays

2023-09-02 Thread Victor Pasko
, Sep 1, 2023 at 3:35 PM Kerin Millar wrote: > On Fri, 1 Sep 2023 14:44:49 +0700 > Victor Pasko wrote: > > > Just forward my response to all who was involved in discussion of my > request > > > > -- Forwarded message ----- > > From: Victor Pasko &

Fwd: Some incorrect behaviour for BASH arrays

2023-09-01 Thread Victor Pasko
Just forward my response to all who was involved in discussion of my request -- Forwarded message - From: Victor Pasko Date: Fri, Sep 1, 2023 at 2:23 PM Subject: Re: Some incorrect behaviour for BASH arrays To: Kerin Millar Thanks for the detailed explanations of *declare

Re: Some incorrect behaviour for BASH arrays

2023-08-31 Thread Victor Pasko
e -a RESULT=([0]="bB123\\-4567\\-8" [1]="8" [2]="7" [3]="6" [4]="5" [5]="4" [6]="3" [7]="2" [8]="1" [9]="6" [10]="7" [11]="\\" [12]="-" [13]="8") DEBUG i-symbol

Some incorrect behaviour for BASH arrays

2023-08-30 Thread Victor Pasko
Hi, On my Win-7 64-bit using Cygwin *% bash --version*GNU bash, version 5.2.15(3)-release (x86_64-pc-cygwin) Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software; you are free to change and