Subversion Repositories wimsdev

Rev

Rev 8954 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
8954 bpr 1
#! /bin/sh
2
 
3
IND="ALLOEFHTML"
4
mkdir -p $IND
5
 echo '<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN"><HTML><HEAD><TITLE>Enscript Output</TITLE></HEAD><BODY><ul>' > index.html
6
>> index.html
7
for j in `ls ALLOEF/*` ; do
8
   jj=`basename $j`
10182 bpr 9
   enscript --color -w html -2 --header="<a href=\"index.html\">retour</a>" -Ediffu $j -o ALLOEFHTML/$jj.html ;
8954 bpr 10
   echo "<li><a href="$IND/$jj.html">$jj</a>" >> index.html
11
done
12
 
13
echo "</ul></body></html>" >> index.html