#! /bin/sh . config.sh echo 'Content-type: text/html Tron Hall of Fame

TRON HALL OF FAME


' $PSQL -q -t -f rank100.sql tron | awk -F\| ' BEGIN { printf(""); printf("\n","Position", "Name","Won","Tied","Lost","Rate","Points"); } { count = count+1; printf(""); printf("
%3s%-30s%3s%3s%3s%5s%5s
%3d%-30s%3d%3d", count,$2,$3,$4); printf("%3d%5.2f%5d\n",$5, $6,$1); } ' echo '
'