From: paul Date: Fri, 31 Jul 2015 13:00:57 +0000 (+0000) Subject: introduced redirect function X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=d7ba9fdbc590932d2f59be6534ca1c5738fe2085;p=clickslide introduced redirect function svn path=/trunk/; revision=10 --- diff --git a/cgi.sh b/cgi.sh index a9c59d9..d9ee5bd 100755 --- a/cgi.sh +++ b/cgi.sh @@ -86,3 +86,8 @@ urlsave(){ s;'\'';%27;g; s;\?;%3f;g;' } + +redirect(){ + printf '%s\n\n' "Location: $*" + exit 0 +}