Update temp.inc.sh

This commit is contained in:
2023-12-14 18:42:10 -06:00
parent 388c511bc3
commit 0e0d730072

View File

@@ -543,6 +543,12 @@ GET_LACROSSE_INFO(){
# echo ${DEVICE_INFO[${2}]}
}
function print_array {
# eval string into a new associative array
eval "declare -A func_assoc_array="${1#*=}
# proof that array was successfully created
declare -p func_assoc_array
}
INFO=$(GET_LACROSSE_INFO "ServerRoomLA")
# IFS=$'~'; read -rd '' -a INFO <<<"${INFO}"; unset IFS