Page 1 of 1

bug in printf (handle_parameters.sh)

Posted: Wed Jan 17, 2024 12:01 am
by gathlete

Code: Select all

vesta/func/handle_parameters.sh
original:

Code: Select all

     printf -v "$var" '%s' "$val"
new:

Code: Select all

    printf -v $var '%s' "$val"
y removing the brackets from thevariable will eable the printf command to correctly assign the value to the variable..