Sunday 21 November 2010

Download Forex Rates Using AWK...

AWK & SED are the best tools ever developed....

I am writing an application to do Forex Analysis in AWK & SED... using SydneyForex Web-site:

Simple: In order to get the rates for AUD/PKR...

$wget https://www.sydneyforex.com.au/RateHistory.aspx?id=1


$awk '/PAKISTAN/' pakfile.txt | awk '{split($2,a,">")} {split($3,b,"<")} {split($5,c,"<")} {split(c[1],d,">")} {print a[2], b[1]," ", d[2]}';

DONE....

Stay Tuned...

No comments:

Post a Comment

Azure OpenAI Architecture Patterns & Deployment Patterns

Sharing some useful links that will help customers architect Azure OpenAI solution using the best practices: (1) Azure OpenAI Landing Zone r...