There are two shellcheck errors:
$ shellcheck --severity error wifi-qr
In wifi-qr line 114:
for l in ${wifilist[@]}; do
^------------^ SC2068: Double quote array expansions to avoid re-splitting elements.
In wifi-qr line 120:
for m in ${array[@]}; do
^---------^ SC2068: Double quote array expansions to avoid re-splitting elements.
If you remove the severity flag you will see that there are lots of other issues with the script too.
There are two shellcheck errors:
If you remove the severity flag you will see that there are lots of other issues with the script too.