This Text file is old! In a 🏛️Museum, an unsorted archive of (user-)pages. (Saved from Geocities in Oct-2009. The archival story: oocities.org)
--------------------------------------- (To 🚫report any bad content: archivehelp @ gmail.com)
>

# /usr/scripts/STATION.INFO
#
# Awk script:  STATION.INFO
#
# Author:  Kevin FitzGerrell
#
# This script is called by shell scripts absta and absta_pr
# to derive report information from file {station}.blocks.
#

BEGIN { P3=0 }
$3 == 1 { P1++ }
$3 == 2 && $4 == 0 { P20++ }
$3 == 2 && $4 == 1 { P21++ }
$3 == 3 { P3++ }
$3 == 3 && $4 == 0 { P30++ }
$3 == 3 && $4 == 1 { P31++ }
$3 == 3 && $4 == 2 { P32++ }
$3 == 3 && $4 == 3 { P33++ }
$3 == 10 { P4++ }
$3 == 10 && $4 == 0 { P40++ }
$3 == 10 && $4 == 1 { P41++ }
$3 == 10 && $4 == 2 { P42++ }
$3 == 10 && $4 == 3 { P43++ }
$3 == 10 && $4 == 4 { P44++ }
$3 == 10 && $4 == 5 { P45++ }
$3 == 10 && $4 == 6 { P46++ }
$3 == 10 && $4 == 7 { P47++ }
$3 == 10 && $4 == 8 { P48++ }
$3 == 10 && $4 == 9 { P49++ }
$2 == "CIN" { CIN++}
$2 == "COUT" { COUT++}
$2 == "MCIN" { MCIN++}
$2 == "MCOUT" { MCOUT++}
$2 == "AIN" { AIN++}
$2 == "AOUT" { AOUT++}
$2 == "MAIN" { MAIN++}
$2 == "ALMPRI" { ALMPRI++}
$2 == "BLNALM" { BLNALM++}
$2 == "PATALM" { PATALM++}
$2 == "REALM" { REALM++}
$2 == "CALC" { CALC++}
$2 == "COMPND" { COMPND++}
{ TOTAL++}
END {
	print "                           Phase"
	print "                     TOT  0  1  2  3  4  5  6  7  8  9"
	print "Period 1,  0.5 sec:    " P1 "  " P1;
	print "Period 2,  1.0 sec:    " P20+P2, P20, P22;
	print "Period 3,  2.0 sec:    " P3, P30, P31, P32, P33;
	print "Period 10, 5.0 sec:  " P4, P40, P41, P42, P43, P44, P45, P46, P47, P48, P49;
	print "";
	print "CIN blocks:     " CIN;
	print "MCIN blocks:    " MCIN;
	print "COUT blocks:    " COUT;
	print "MCOUT blocks:   " MCOUT;
	print "AIN blocks:     " AIN;
	print "MAIN blocks:    " MAIN;
	print "AOUT blocks:    " AOUT;
	print "ALMPRI blocks:  " ALMPRI;
	print "BLNALM blocks:  " BLNALM;
	print "PATALM blocks:  " PATALM;
	print "REALM blocks:   " REALM;
	print "CALC blocks:    " CALC;
	print "COMPND blocks:  " COMPND;
	print "  TOTAL blocks: " TOTAL;
	print "";
	print "Block equivalents:  " TOTAL+(CALC*2);
    }

Text file Source (historic): geocities.com/fitzgerrell/dcs_stuff/raw_scripts

geocities.com/fitzgerrell/dcs_stuff
geocities.com/fitzgerrell

(to report bad content: archivehelp @ gmail)