#!/bin/bash
#                      /usr/local/bin/subscriptions
# http://crystalfaeries.net/posix/bin/subscriptions
# celeste:crystalfaery SUBSCRIPTIONS 2017-07-15 06:47:12+00:00

# list to which KKCR programs we have subscribed

# output the webpage:
# echo 'Content-Type: text/html'
# echo ''
echo '<html><body><pre>'
echo '<a href="http://kkcr.org/schedule.html"><img src="/clipart/kkcr.png" alt="[KKCR]" align="right" width="310" height="250" /></a>'
echo '                DayOfMonth      DayOfWeek	Subscribed to'
echo 'Minute	Hour__	DOM___	Month_	DOW___	Length	<a href="/audio/kkcr/">KKCR Show</a>'
echo "`grep '^00' ~celeste/.crontab.fey | grep kkcr | sed 's/\/usr\/local\/bin\/kkcr	//g' | sort -k5n -k2n `"
echo '</pre></body></html>'



syntax highlighted by Code2HTML, v. 0.9.1