import os
query = open("/env/QUERY_STRING", "r")
q=query.read()
if len(q) > 1:
mancmd="man %s" % (q.strip().rstrip('\x00'))
stream=os.popen(mancmd)
output=stream.read()
print "20 text/gemini\r\n"
print output
else:
print "10 Lookup a man page\r\n"
text/plain
This content has been proxied by September (ba2dc).