[ale] Awk question

Randy Ramsdell rramsdell at activedg.com
Fri Feb 3 14:51:46 EST 2012


I need to parse a file and then subtract next to last line field $2  
from the last line field $2 using awk and then convert this number to a 
percent.

Data:

$date 100
$date 103
$date 107

So ... ( 107 - 103 ) / 103 ...

Clues?


More information about the Ale mailing list