View Single Post
Old 04-24-2012, 05:15 PM  
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 54,508
Quote:
Originally Posted by Brujah View Post
what's in the goog.sh? I like that!
very little ;)

Code:
#!/bin/bash

if [ $# -ne 2 ]; then
        echo "usage: $0 keyword numresults"
        exit 0
else
        lynx -dump "http://www.google.com/search?q=$1&num=$2" | sed '/[0-9]*\..http:\/\/www.google.com\/search?q=related:/!d;s/...[0-9]*\..http:\/\/www.google.com\/search?q=related://;s/&hl=//'

fi
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


my contact: fris at fris.net
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote