I have a CURL command
echo "{cur_format}" | curl -w @- -s -o /dev/null https://example.com
Let's say the above command outputs a string of "I waited 1 day".
How can I convert "I waited 1 day" to "I waited 24 hours" (i.e. pipe "1 * 24" to the bc command")?
Thank you.