Misc info

Bash CGI

Why you would want to do this I don't know, but it seemed to fun at the time to write cgi in some obscure ways.

#!/bin/bash
echo "Content-Type: Text/HTML"
echo " "
echo " "
echo "<html>"
echo "<title>BASH cgi script</title>"
echo "<body><h1>This is `hostname` </h1></body>"
echo "</html>"

rb/misc.txt · Last modified: 29/12/2017 19:47 (external edit)