article.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
       ---
       article.cgi
       ---
            1 #!/bin/sh
            2 
            3 . ../common/config.sh
            4 . ../common/html.sh
            5 
            6 url=$2
            7 curl -Lgs -- "${url}" |
            8     sed -ne '/^<h1 class="hidetitle">/p' |
            9     html_to_text
           10 
           11 echo ""
           12 echo "URL: <${url}>"