1 2 3
#!/bin/sh wget -qO- "https://min-api.cryptocompare.com/data/price?fsym=$2&tsyms=$1" | jq '.["'"$1"'"]' #/home/segfault/bin/xchg.getrates | jq '.["'"$1"'"].last'