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