Sponsored Content
Full Discussion: A google search shellscript
Top Forums Shell Programming and Scripting A google search shellscript Post 29204 by JoeTheGuy on Tuesday 1st of October 2002 06:12:59 PM
Old 10-01-2002
A google search shellscript

This little doey allows you do fire up a google search right from your terminal.

---------------------------------------------------

#!/bin/sh
#(save me into the path as "google")
clear &&
for i in "$@";
do lynx http://www.google.com/search?q="$@";
done

---------------------------------------------------

(the browser doesn't have to be lynx, it could be netscape, links, or whatever it just has to be able to accept urls from the command line)

you can then search google from the terminal using

google "your search for whatever"

Smilie
 

5 More Discussions You Might Find Interesting

1. Web Development

Google search appliance

Please let me know if Google search appliance supports JSON or XML interface? If yes please provide some references (3 Replies)
Discussion started by: uunniixx
3 Replies

2. UNIX for Advanced & Expert Users

google search changes with an underscore

How does adding an underscore change a google search? I was searching for John Elway and got different results with and without an unscore. (3 Replies)
Discussion started by: cokedude
3 Replies

3. What is on Your Mind?

Changes to Google Site Search Location

We are going to move the Google Site Search that is located in the upper right hand corner of the site to the toolbar. Both are showing at the moment, and the plans is to create a UserCP option to "turn on" the Google Site Search where it is currently showing for users who prefer not to use the... (2 Replies)
Discussion started by: Neo
2 Replies

4. What is on Your Mind?

Google Site Search in Search Drop Down Menu (Again)

Have just added (after missing for some time), the latest version of Google Site Search for our site in the Navbar Search Menu: https://www.unix.com/members/1-albums215-picture791.png Cheers and Enjoy. Here is the URL for that link in case you need it: https://goo.gl/P8p82c (4 Replies)
Discussion started by: Neo
4 Replies

5. What is on Your Mind?

YouTube: Search Engine Optimization | How To Fix Soft 404 Errors and A.I. Tales from Google Search

Getting a bit more comfortable making quick YT videos in 4K, here is: Search Engine Optimization | How To Fix Soft 404 Errors and A.I. Tales from Google Search Console https://youtu.be/I6b9T2qcqFo (0 Replies)
Discussion started by: Neo
0 Replies
Net::Google::Code::Issue(3pm)				User Contributed Perl Documentation			     Net::Google::Code::Issue(3pm)

NAME
Net::Google::Code::Issue - Google Code Issue SYNOPSIS
use Net::Google::Code::Issue; my $issue = Net::Google::Code::Issue->new( project => 'net-google-code' ); $issue->load(42); DESCRIPTION
ATTRIBUTES
project project name email, password user's email and password id status owner reporter reported merged stars closed cc summary description labels comments attachments INTERFACE
load parse updated the last comment's date. create comment, summary, status, owner, cc, labels, files. update comment, summary, status, owner, merge_into, cc, labels, blocked_on, files. list( q => '', can => '', author => '', id => '', label => '', max_results => '', owner => '', published_min => '', published_max => '', updated_min => '', updated_max => '', start_index => '' ) google's api way to get/search issues return a list of loaded issues in list context, a ref to the list otherwise. load_comments google's api way to get and load comments( no scraping is done here ) parse_hybrid when $USE_HYBRID is true, we will try to load issue with the google's official api, but as the api is not complete, we still need to do scraping to load something( e.g. attachments ), this method is used to do this. AUTHOR
sunnavy "<sunnavy@bestpractical.com>" LICENCE AND COPYRIGHT
Copyright 2008-2010 Best Practical Solutions. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2010-04-28 Net::Google::Code::Issue(3pm)
All times are GMT -4. The time now is 09:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy