#!/usr/bin/perl # Determine the basename of this directory: $ThisDir=`pwd`; chomp($ThisDir) ; @DirParts = split("/",$ThisDir) ; $ThisDirsBaseName = pop(@DirParts) ; # Make way for the new index: if ( -f "table" ) { system("rm -f old-table") ; system("mv table old-table") ; } ; open(OUT,">table") || die("Out:table") ; print(OUT "
| \n") ;
@FileNameList = <$Topic*.jpg> ;
# for multi-image in "$imagename*.jpg"
foreach $FileName ( sort @FileNameList )
{
chomp($FileName) ;
# echo (link tn_$multi-image.jpg to $multi-image.jpg)
print(OUT " Larger image is here\n") ; } ; # | print(OUT " | \n") ; print(OUT "\n") ;
open(DESC,"<" . $Topic . ".txt") || die("In:" . $Topic . ".txt") ;
while ( $aTopicDescriptionLine = |