#!/bin/sh # file browser in shell # tridge@samba.org, July 2007 ####################### # spit out a http header http_header() { ctype="$1" cat <$ecode

$ecode

Server error EOF exit 0 } ################### # directory listing directory_list() { http_header "text/html"; cat <