#!/bin/sh
	#
	# (c) 2008 BigSoft Limited
	# Please retain this copyright message
	# Software comes AS IS and without warrently
	#
TITLE="Index"
echo "<html>" > index.html
echo "<title>$TITLE</title>" >> index.html
echo "<body>" >> index.html
echo "<h1>$TITLE</h1>" >> index.html
ls \
| grep -v index.html \
| sed 's/.*/<a href="&">& <\/a><br\/>/' \
>> index.html
echo "</body></html>" >> index.html