[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: another mail try for the hang 100% cpu alias run bug
From: |
Chet Ramey |
Subject: |
Re: another mail try for the hang 100% cpu alias run bug |
Date: |
Wed, 24 Feb 2021 11:25:23 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 |
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 chet@case.edu http://tiswww.cwru.edu/~chet/