#! /bin/ksh

DB=isp.db

echo "<h1>Possible HCIBIB.ORG ISPs</h1>"

start="<table border=1>
	<th align=left>Site
	<th align=left>Quote
	<th align=left>Stability
	<th align=left>Speed
	<th align=left>Setup
	<th align=left>Rates
	<th align=left>Email
	<th align=left>FTP
	<th align=left>Search
	<th align=left>Notes
"
entry="<tr>
	<td><a href=http://www.%domain/>%domain</a>
	<td><a href=%domain>quote</a>
	<td>%stability
	<td>%speed
	<td>%setup
	<td>%rates
	<td>%email
	<td>%FTP
	<td>%Search
	<td>%notes
	"
end="</table>"

echo "$start"
sssort -f status:s,speed:s,domain:S $DB |
	ssformat -t "$entry"
echo "$end"
