Last active
December 3, 2015 18:11
-
-
Save ikari-pl/bf92fea745e4c6a4f9f1 to your computer and use it in GitHub Desktop.
Any currency to PLN (hardcoded one) command line converter
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
ileto() { | |
curl -s -L "http://www.google.com/finance/converter?a=$1&from=$2&to=pln&hl=pl" | sed '/res/!d;s/<[^>]*>//g' | |
} | |
alias iletokurwa=ileto | |
# examples: | |
# ⇒ ileto 100 usd | |
# 100 USD = 335.4000 PLN | |
# | |
# ⇒ iletokurwa 100 eur | |
# 100 EUR = 418.5300 PLN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment