#!/bin/sh RESPONSE=$(curl -s "https://disease.sh/v3/covid-19/countries/netherlands") prop () { echo $RESPONSE | jq $1 | xargs printf; } printf " " prop .cases printf " " prop .deaths printf "\n"