File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ get_i_arr_indices() {
21
21
_arr_name=" $1 " _out_var=" $2 "
22
22
_check_vars " $_arr_name " " $_out_var " || return 1
23
23
24
- eval " _indices=\"\$ {_i_${_arr_name} _indices}"
24
+ eval " _indices=\"\$ {_i_${_arr_name} _indices}\" "
25
25
26
26
_indices=" $( printf ' %s ' $_indices ) " # no quotes on purpose
27
27
@@ -41,7 +41,7 @@ set_i_arr_el() {
41
41
check_index || return 1
42
42
43
43
eval " _indices=\"\$ {_i_${_arr_name} _indices}\"
44
- _i_${_arr_name} _${_index} " =' ${_el_set_flag}${ ___new_val}'
44
+ _i_${_arr_name} _${_index} " =' ${___new_val}'
45
45
46
46
case " $_indices " in
47
47
* " $_nl$_index " |* " $_nl$_index$_nl " * ) ;;
@@ -60,7 +60,7 @@ get_i_arr_val() {
60
60
_check_vars " $_arr_name " " $_out_var " || return 1
61
61
check_index || return 1
62
62
63
- eval " $_out_var =\"\$ { _i_${_arr_name} _${_index} # $_el_set_flag }\" "
63
+ eval " $_out_var =\"\$ _i_${_arr_name} _${_index} \" "
64
64
}
65
65
66
66
83
83
export LC_ALL=C
84
84
___nl='
85
85
'
86
- : " ${_el_set_flag:= " $( printf ' \35' ) " } "
You can’t perform that action at this time.
0 commit comments