Download Game! Currently 66 players and visitors. Last logged in:ResinJumadanGoalathUrsa

BatMUD Forums > Ideas-wanted > converter

 
 
#1
17 Sep 2002 16:03
 
 
Level: 55 Age: 1y, 129d, 15h, 1min and 58s

#!/bin/csh -f
wget -q http://www.ecb.int/home/eurofxref.htm
set ratio=`grep -A 1 "US dollar" eurofxref.htm|tail -n 1|sed -e's/ <td
align="right">//g'|awk -F \< '{print $1}'`
echo -n "USD $1 is EUR "
echo "$ratio*$1"|bc