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?