bug-bash
[Top][All Lists]
Advanced

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

is there no copy of vars declared for every function but one global 'loc


From: Alex fxmbsw7 Ratchev
Subject: is there no copy of vars declared for every function but one global 'local' only ?
Date: Mon, 22 Mar 2021 02:26:32 +0100

i have my codes much ready, but now on a clean reboot i noticed it
doesnt do few stuffs anymore
i call a per code that does eval, which i seem to call twice or trice
inside stacked
the content of args=( ) or files=( ) doesnt seem anymore active after some run
could that be ?
i guess the solution is to make a for copy instead of [[ -v args[++i]
but with that how to make it extend-able

for anyone who cares about the code, attached is ogt.tgz
in the code ( ogt/ogt ) there is

. "$_hd"/function/per '. "$_hd"/init/"$per"' \
 set_n_shopt mktermv vars aliases functions keywords traps paths autoloads

till vars it works, or halfways, then aliases and the rest dont get
parsed at all
cause args[++i] or files[++i] is no more

Attachment: ogt.tgz
Description: application/compressed-tar


reply via email to

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