Scripting Mac OS X
Subject:   Google via Terminal (user input problem)
Date:   2007-05-19 15:29:25
From:   paymon
I wrote this script the other day but it doesn't quite work well. The script is so:

#! /bin/sh
read F1 F2 F3 F4 F5 F6 F7 F8 F9 F10
open "$F1%20$F2%20$F3%20$F4%20$F5%20$F6%20$F7%20$F8%20$F9%20$F10"

Once it's done try to modify your search in the Google's search result page. You will notice an empty space in the search field (given that you entered less than 10 words) and even worst I can't do phrase searching; try for instance "Google via Terminal".