bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hangs 100% cpu


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

Attachment: ogt
Description: Binary data

Attachment: ogt_demo
Description: Binary data

Attachment: ogt_demo.o.x
Description: Binary data

Attachment: +alias
Description: Binary data

Attachment: kws
Description: Binary data

Attachment: +kw
Description: Binary data

Attachment: preinit
Description: Binary data

Attachment: +kwf
Description: Binary data

Attachment: metest
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]