#!/mod/bin/jimsh package require cgi source /mod/webif/lib/setup cgi_input #cgi_dump puts "Content-Type: text/html" puts "" set root [cgi_get dir] set files [lsort [readdir -nocomplain $root]] puts ""