#!/bin/sh # # Slashdot -> Gopher .links # # taviso@sdf.lonestar.org 2003 # echo -e \ "Name=The Headlines were last Fetched at: `date` Type=i Numb=1 Path=fake\n Name= Type=i Path=fake\n" lynx -dump http://slashdot.org/slashdot.rdf \ | zgrep -e '^.*$|^.*$' \ | sed 's##Name=#g s##\ Type=h\ Host=slashdot.org\ Port=80#g s###g s#http://slashdot.org#Path=GET #g s##\ #g'> .links