#!/mod/bin/jimsh package require cgi source /mod/webif/lib/setup require ts.class pretty_size puts "Content-Type: text/html\r\n\r\n" cgi_input #cgi_dump set rfile [cgi_get file] set base [file rootname $rfile] puts [exec /mod/bin/stripts -aq $base]