Doc /

Lstohtml

#!/bin/sh
# written in Fev 11, 2007 by Jean-Daniel Dodin
# feel free to use at will

# this script takes a list of files and
# makes an html page with links to them

file="liste.html";

echo "<html><body>" > $file;

for  I  ; do
echo $I
echo -n "<a href=\"" >> $file ;
echo -n "$I" >> $file ;
echo -n "\">" >> $file;
echo -n "$I" >> $file;
echo -n "</a><br />" >> $file;
echo  >> $file;

done ;
echo -n "</body></html>" >> $file;