|
From: | Alex fxmbsw7 Ratchev |
Subject: | hangs 100% cpu |
Date: | Mon, 22 Feb 2021 12:37:15 +0100 |
bash-5.1# ls -R .: addkwh aliases keywords ogt ogt_demo ogt_demo.o.x ./addkwh: ./aliases: +alias +kw +kwf kws preinit ./keywords: metest im still creating the short code system, i have yet aliases working but keywords i wanted to test but got ahold of another bug from ago, bash hangs, no idea of -x doesnt say much to try to pre explain the code, ./ogt ( aka only_good_text ) is the main script to run / source, the _demo is one using it it does: 1) add aliases in aliases/ and 2) add keywords ( of assoc arr system ) from keywords/ .. then in the _demo i try to call kws ( key word s .. ) kws=( metest ) kws and on the corresponding code line ( first line then it hangs ) its kws_i=-1 ( set index to use later ) then run loop [[ -v kws[++kws_i] ]] .. the -x ( the .o.x ( oiutput -x ) file ) shows thevar definement but then it hangs with 100% cpu hope you can digg in
ogt
Description: Binary data
ogt_demo
Description: Binary data
ogt_demo.o.x
Description: Binary data
+alias
Description: Binary data
kws
Description: Binary data
+kw
Description: Binary data
preinit
Description: Binary data
+kwf
Description: Binary data
metest
Description: Binary data
[Prev in Thread] | Current Thread | [Next in Thread] |