#!/bin/sh echo ' ' tail -n +11 | while read l1 do echo "$l1" | egrep -q '^Display_Area' if [ $? != 0 ] ; then read l1 || exit 1 fi read l2 || exit 1 x=`echo $l1 | cut -f2 -d\( | awk '{printf("%d", $1);}'` y=`echo $l1 | cut -f2 -d\( | awk '{printf("%d", $2);}'` t1=`echo $l2 | awk \ '{t1=substr($2,1,8); t2=substr($2,10,2); printf("%s.%s", t1, t2);}'` t2=`echo $l2 | awk \ '{t1=substr($3,1,8); t2=substr($3,10,2); printf("%s.%s", t1, t2);}'` i=`echo $l2 | awk '{printf("%s", $NF);}'` echo ' ' done echo ' '