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