Created
December 11, 2013 19:07
-
-
Save erdostom/7916450 to your computer and use it in GitHub Desktop.
Alias for checking Coinbase BTC spot rate on *NIX systems. Copy and paste into ~/.bash_profile and restart terminal. Use with the command 'cbase'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#use in ~./bash_profile | |
alias cbase="curl -s https://coinbase.com/api/v1/prices/spot_rate | sed -n 's/.*amount"'":"\([0-9]*.[0-9]*\)".*$/Coinbase price: \1/pg'"'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment