On 2/23/21 7:01 PM, Alex fxmbsw7 Ratchev wrote:
i cannot exclude it'd be my bug ( again ) but i dunno i have no choise than
trying to present the hanger to you folks to fix it

What's supposed to happen? When I run ogt1/ogt_demo using the latest bash
from the devel git branch, I get

$ ../bash ogt1/ogt_demo
current keyword 1 of 1 in total ( -> metest <- ) ( code :
printf 'current keyword %d of %d in total ( -> %s <- ) ( code : %s )\n' $[1+kws_i] ${#kws[@]} "$kws_kw" "$kws_code"
  )
$

on macOS and Linux (Solus-4.2, fwiw).

Using bash-5.1 gives

$ ../../bash-5.1-patched/bash ogt1/ogt_demo
ogt1/ogt_demo: array assign: line 3: syntax error near unexpected token `&&'
ogt1/ogt_demo: array assign: line 3: `kws_i=-1
        [...]

because of the bug I fixed back in mid-November but didn't make it into
bash-5.1.

I don't see a hang in either case.

--
``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/

Reply via email to