# /usr/scripts/report1_more.awk # # AWK script: report1_more.awk # # Author: Kevin FitzGerrell # # Called by shift1.script, this script is used to parse data out of the file # report1_eos.tmp. # # last modified 5/5/99 # { total[NR] = $1 } END { printf("\n\n\n") printf("%-29s%6.0f\t%-29s%6.0f\n\n", "Mill downtime, day: ", total[1], "SAG downtime, day:", total[5]) printf("%-29s%6.0f\t%-29s%6.0f\n\n", "Mill throughput, day: ", total[2], "BM 1 downtime, day:", total[6]) printf("%-29s%6.0f\t%-29s%6.0f\n\n", "Crusher downtime, day: ", total[3], "BM 2 downtime, day:", total[7]) printf("%-29s%6.0f\t%-29s%6.0f\n\n", "Crusher throughput, day: ", total[4], "Gravity downtime, day:", total[8]) }