Bash Script Curl Response To Variable In Math