BEGIN { start=0; } { if ($1=="10S") start=1; else { if (start==1 && $6==0) { print $1, $7, $22, $24; } } }