#! /bin/csh -f if ($1 == "") then echo "USAGE: make_html <.mid files>" echo "Ex: make_html *.mid *.MID */*.mid >\! mid_frame.html" # make_html *.mid *.MID */*.mid >! mid_frame.html exit endif set FILE = file.html echo '<\!-- Created automatically with make_html -->' echo '' echo '' #echo '' echo '
' #echo '

MIDI files for your listening pleasure

' echo '' echo '
This file was created automagically.
' echo `date` echo '
' echo '

' #foreach file (1fhmgadx.jpg) foreach file ($*) #set html_file = "$file:r.html" #echo $html_file set size = `ls -l $file | awk '{print $4}'` echo -n "

  • $file ($size bytes) " echo "----- OFF" #echo "
    " end echo '

    ' echo ""