# $Id$ /going to test trap with ChipID/ { id=$16 ; getline aline ; getline aline ; where = match(aline, /tester returned/); if (where !=0) { split(aline,retcode," "); wretcode = retcode[12] ; printf "%d %d ", id, wretcode ; xmlfile = sprintf("%d/trd_X.xml", id); system("~/bin/test_date_time.pl " xmlfile); next ; } }