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

Using Handlebar Prompt in Semantic Kernal

> dotnet add package Microsoft.SemanticKernel.PromptTemplates.Handlebars --version 1.30.0 using Microsoft . SemanticKernel ; using Micr...