Jon Aquino's Mental Garden

Engineering beautiful software jon aquino labs | personal blog

Saturday, April 24, 2004

Here it is reduced to a single line:

perl mork.pl --age 1h "c:\Documents and Settings\Jon\Application Data\Phoenix\Profiles\Default User\ibe1qsso.slt\history.dat" | cut -f2 | gawk '{i=i+$1}END{print i}' | gawk "{print strftime(\"%%Y-%%m-%%d %%H:%%M\", systime()), $0}" >> hourly-statistics.txt

0 Comments:

Post a Comment

<< Home