Compare commits

...

2 Commits

View File

@ -89,7 +89,7 @@ function show
{ {
# to navigate to sub keys like data.statistics.my_key , we must use multiple -e extract options # to navigate to sub keys like data.statistics.my_key , we must use multiple -e extract options
local value=$(echo "$json" | jshon -e "data" -e "statistics" -e $1 -u) local value=$(echo "$json" | jshon -e "data" -e "statistics" -e $1 -u)
printf " $key=$value" printf "$1=$value\n"
} }
# #