#! /usr/bin/awk -f BEGIN { n = 0 m = 0 gsm_min_dt = 50000 gsm_max_n = 3 } /^EI/ { dt = $5 if (dt >= gsm_min_dt) { if (n <= gsm_max_n) for (i=0; i