For internal use
Awk Home
awk '/Average timings for all steps/{getline;getline;print $4}' ../run*.out awk '/blah/ {for(i=lines;i;--i)getline; print $0 }' logfile
Ref