advertisement

Article:
  Scripting Mac OS X
Subject:   Google via Terminal (user input problem)
Date:   2007-05-19 15:29:36
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 "http://google.com/search?q=%20site:wikipedia.org%20$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".


1 to 1 of 1
  1. Google via Terminal (user input problem)
    2007-05-21 09:27:50  jamesreynolds [View]

1 to 1 of 1