From 474a28663f2871c91ea758c1fa4e0cf9bc7326a5 Mon Sep 17 00:00:00 2001 From: tjpcc Date: Tue, 10 Jan 2023 17:22:13 -0700 Subject: CGI improvements --- examples/cgi/cgi-bin/environ | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 examples/cgi/cgi-bin/environ (limited to 'examples/cgi/cgi-bin/environ') diff --git a/examples/cgi/cgi-bin/environ b/examples/cgi/cgi-bin/environ new file mode 100755 index 0000000..62ca15a --- /dev/null +++ b/examples/cgi/cgi-bin/environ @@ -0,0 +1,8 @@ +#!/usr/bin/env sh + +set -euo pipefail + +printf "20 text/gemini\r\n" +echo "\`\`\`env(1) output" +env +echo "\`\`\`" -- cgit v1.2.3