I have a bash variable with the following value assigned to it:
# echo $b
{"tid": "session", "id": "9c7decd9-29d4-4d88-8fca-56d3b7b07bd5"}
When I try to extract the UUId from the variable 'b'
:
# temp=$(echo $b | awk '{print $4}')
# echo $temp
"9c7decd9-29d4-4d88-8fca-56d3b7b07bd5"}
...I get the additional flower bracket at the end. How do I just get the UUID?
Thanks!