bash-5.1# n=1 bash ../ixz/paster desc 0 1 2 3 ++ paste BEGIN ++ ++ paste BEGINFILE desc
here i reduced the stuff to minimum, aka wrote new, but the problem is here it works i bet till complex code so ill go on till you read the other bug report or come up with another bug this tree based ok ? to this files here: 0 loader \ init script 1 aliaser - the link files to aliases 2 dummy printf 2 3 dummy printf 3 and it should, 0 load 1 with args 1 and 2, then again with args 3 and it should printf 2 and printf 3 then, which it does the other code, which has bugs, if you dont review em i cannot do anything about it ah well but, ah well ill just go on with the new tree till bugs appear again then ill callback /xmb ++ paste ENDFILE desc ( 18 lined 135 worded 613 chared ) ++ paste BEGINFILE 0 shopt -s expand_aliases me=${BASH_SOURCE##/*} me=${me:+$PWD/$me} me=${me:-$BASH_SOURCE} here=${me%/*} bind=( "$here"/{1,2} ) . "$here"/1 bind=( "$here"/3 ) . "$here"/1 2 3 ++ paste ENDFILE 0 ( 13 lined 19 worded 164 chared ) ++ paste BEGINFILE 1 now= at=-1 link=( ) while [[ -v bind[++at] ]] do [[ -f ${now:=${bind[at]}} ]] && link+=( "${now##*/}=$( <"$now" )" ) ; now= done [[ -v link[0] ]] && alias -- "${link[@]}" ++ paste ENDFILE 1 ( 7 lined 31 worded 167 chared ) ++ paste BEGINFILE 2 printf 2 ++ paste ENDFILE 2 ( 1 lined 2 worded 8 chared ) ++ paste BEGINFILE 3 printf 3 ++ paste ENDFILE 3 ( 1 lined 2 worded 8 chared ) ++ paste END ++ 5 files 40 lines 189 words 960 chars