fetch.cgi - gophercgis - Collection of gopher CGI/DCGI for geomyidae
(HTM) hg clone https://bitbucket.org/iamleot/gophercgis
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
fetch.cgi
---
1 #!/bin/sh
2
3 . ../common/config.sh
4
5 CGI="${CGI_BASEDIR}/bozodirs/fetch.cgi"
6
7 if [ -n "$2" ]; then
8 url=$2
9 else
10 exit 1
11 fi
12
13 curl -Lgs -- "${url}"