Sponsored Content
Full Discussion: A google search shellscript
Top Forums Shell Programming and Scripting A google search shellscript Post 30643 by lusername on Thursday 24th of October 2002 04:57:47 PM
Old 10-24-2002
You should probably change the spaces in the search query to "+" and + to "%2B":
Code:
lynx "http://www.google.com/search?q=$(echo $@|sed -e 's/+/%2B/g' -e 's/ /+/g')"

 

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
wsreg_query_set_instance(3WSREG)		    Product Install Registry Library Functions			  wsreg_query_set_instance(3WSREG)

NAME
wsreg_query_set_instance, wsreg_query_get_instance - set or get the instance of a query SYNOPSIS
cc [flag ...] file ...-lwsreg [library ...] #include <wsreg.h> int wsreg_query_set_instance(Wsreg_query *query, int instance); int wsreg_query_get_instance(Wsreg_query *comp); DESCRIPTION
The wsreg_query_set_instance() function sets the instance number specified by instance in the query specified by query. The wsreg_query_get_instance() function retrieves the instance from the query specified by query. RETURN VALUES
The wsreg_query_set_instance() function returns a non-zero value if the instance was set correctly; otherwise 0 is returned. The wsreg_query_get_instance() function returns the instance number from the specified query. It returns 0 if the instance number has not been set. USAGE
The query identifies fields used to search for a specific component in the product install registry. By specifying the instance, the com- ponent search is narrowed to all components in the product install registry that have the specified instance. Other fields can be specified in the same query to further narrow down the search. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |Unsafe | +-----------------------------+-----------------------------+ SEE ALSO
wsreg_get(3WSREG), wsreg_initialize(3WSREG), wsreg_query_create(3WSREG), attributes(5) SunOS 5.10 22 Sep 2000 wsreg_query_set_instance(3WSREG)
All times are GMT -4. The time now is 11:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy