#!/bin/sh echo "" > index.php for i in `ls -1 *.bsp*` do echo "
$i
" >> index.php done