#!/bin/sh echo "Simple Index: $1" ls "$1/"*.html | sed 's|\(.*\).html|<a href="\1.html">\1</a><br>|' > "rawIdx_$1.html"