Quote:
Originally Posted by Brujah
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