X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=etc%2Fcgi.sh;h=e8efe63674f06fa2ef3ba29922a0f5353b900913;hb=fb926496546a1c495a4c24cd201bb0264227ed23;hp=aee19ef66aaafd866905d214288c26c17a04eb81;hpb=77f7f089896020b5bc2bb513cd64763b24d3d707;p=metaproxy-moved-to-github.git diff --git a/etc/cgi.sh b/etc/cgi.sh index aee19ef..e8efe63 100755 --- a/etc/cgi.sh +++ b/etc/cgi.sh @@ -1,8 +1,13 @@ -#!/bin/sh +#!/bin/bash echo "Content-Type: text/plain" echo "" - -echo "hello, world." +echo "metaproxy/etc/cgi.sh" pwd env +if test $CONTENT_LENGTH; then + echo "Echo content of length: $CONTENT_LENGTH:" + read -n $CONTENT_LENGTH c + echo "$c" +fi +