From: Charles Blackburn Date: 2002-05-19T19:42:05+09:00 Subject: Simple google search script Hi all. just a quick and simple question. I want to create a short script in ruby to do a simple google search and return the 1st x urls. I have done it in bash scripting as i've shown here: !/bin/sh if [ "$1" = "" ]; then echo "Usage: google etc.." else lynx -dump "http://www.google.com/search?q=$2+$3+$4+$5+$6" | grep \/ | head -n"$1"|awk '{print $1}' fi basically I need a ruby equivalent of that. can anyone help?? regards Charles