I'm trying to get my AMD GPU temperature from lm-sensors within bash. So I piped awk to get the correct line. But now I need a regular expression to get the data from it.
My current code is:
sensors | awk '/edge/ {print$2}'
This outputs +53.0°C
Now I only need the 53.0. How can I do this in bash?