Compare commits
No commits in common. "b449a80dfab96f255f3399535baba9da9c02fd48" and "3cae67750e3744d7a1ea7d69ebbe763de1a02084" have entirely different histories.
b449a80dfa
...
3cae67750e
@ -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 "$1=$value\n"
|
printf " $key=$value"
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user