Skip to content

currency converter under linux command line

nice post i ve found
http://segfault.in/2010/03/command-line-currency-converter-for-linux/
currency_convert() {
wget -qO- "http://www.google.com/finance/converter?a=$1&from=$2&to=$3&hl=es" | sed '/res/!d;s/]*>//g';
}

paste it under .bachrc
currency_convert 10 usd egp
10 USD = 55.0400 EGP