Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Search sites via Google and Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Search sites via Google and Terminal
Authored by: pwharff on Jun 06, '07 10:53:59AM
I added the "-n" switch to make things look a little more tidy.
#!/bin/sh

echo -n "Seach Google for: "

read F1
F=`echo $F1 | sed 's/ /+/g' | sed 's/"/%22/g'`

open "http://google.com/search?q=$F"


[ Reply to This | # ]