example.sh - randomcrap - random crap programs of varying quality
 (HTM) git clone git://git.codemadness.org/randomcrap
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       example.sh (262B)
       ---
            1 #!/bin/sh
            2 printf 'HTTP/1.0 200 OK\r\n'
            3 printf 'Date: %s\r\n' "$(TZ=UTC date +'%a, %d %b %Y %H:%M:%S +0000')"
            4 printf 'Connection: close\r\n'
            5 printf 'Content-Type: %s\r\n' "text/plain"
            6 printf '\r\n'
            7 
            8 echo "The time is:"
            9 date
           10 echo ""
           11 echo "The environment is:"
           12 env