Sponsored Content
Top Forums Shell Programming and Scripting How to input data from a file into a web browser search engine? Post 302937715 by Walter Misar on Sunday 8th of March 2015 01:00:54 PM
Old 03-08-2015
The following will use the default search engine configured for firefox:
Code:
cat inputfile|while read line; do
  firefox -search "$line"
done

If you don't want a new window for each result, you could use the following to get them as a new tab in an existing firefox window instead:

Code:
cat inputfile|while read line; do
  firefox -new-tab "http://www.google.com/search?q=$line"
done


Last edited by Walter Misar; 03-08-2015 at 02:08 PM..
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Web browser and web server for Unix

Hi there all I am looking for both a web browser as well as a web server (Ie. Netscape Fasttrack) that will run on HPUX 10. If you know where I can get these free via FTP, please contact me as soon as possible!! Thanks, Mark (1 Reply)
Discussion started by: mleathers
1 Replies

2. Solaris

Web browser not opening

On clicking on my WEB BROWSER . no window is appearing , only a dialog box appearing with named "ALERT" any nothing else. What is browser package name , which is by default in Solaris 10 (3 Replies)
Discussion started by: kush singh
3 Replies

3. Shell Programming and Scripting

Need script to take input from file, match on it in file 2 and input data

All, I am trying to figure out a script to run in windows that will allow me to match on First column in file1 to 8th Column in File2 then Insert file1 column2 to file2 column4 then create a new file. File1: 12345 Sam 12346 Bob 12347 Bill File2:... (1 Reply)
Discussion started by: darkoth
1 Replies

4. UNIX for Dummies Questions & Answers

Using File Browser to search file content ...

Hello, I'm using rhel6. Using File Browser Nautilus 2.28.4 I could easily locate any file I'm interested in by it name. I'd like to use this File Browser to locate the file name based on it content e.g. based on some word in the text file. It doesn't work for me that way ... My question: does... (0 Replies)
Discussion started by: susja
0 Replies

5. Web Development

What is Your Favorite Web Browser?

OK, please vote on your favorite web browser and comment why! Only currently supported browers please! Thanks. PS: I am a big FireFox fan. FireFox add-ons rock! (61 Replies)
Discussion started by: Neo
61 Replies

6. Web Development

Too long in displaying the data in a Web Browser

this is my another one question as well as my sample program. Because of the big data the gets from the database.,it takes time to display the output in a web browser.,is there any way to display the output as faster as it can..?my time is wasting because of too long to display.:confused: ... (3 Replies)
Discussion started by: Jeneca
3 Replies

7. Shell Programming and Scripting

Reading input from web into UNIX file

Hi, Could someone let me know how to read input from a web page into a unix file. I am writing my script in bash shell in Solaris version. Thanks in advance, ayarlaga. (7 Replies)
Discussion started by: ayarlaga
7 Replies

8. 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
GMAN(1x)																  GMAN(1x)

NAME
gman - GTK+ based front-end for man, a good replacment for xman. SYNOPSIS
gman DESCRIPTION
Gman is a front-end for the manual page system. gman builds a database of all the available man pages and displays them in a list. Clicking on an entry in the list makes gman launch another window with the manual page displayed in it. Gman can launch more than one window at same time. The user can use the index/key word search function to look for the man pages that they need. It is simple, but it is useful. OPTIONS
There are no command line options for gman, for now. DISPLAY OPTIONS
Currently gman has 4 different modes to present the man pages, available as the following items in the View menu: xTerm This will launch an X terminal emulator with the man output shown inside. You can add the following line to your ~/.gman file in order to select the preferred X terminal emulator: xterm_command = rxvt GhostView gman will present man pages in a GhostView window for you to view and print the man page. This requires GhostView (command "gv") to be available on your system. Evince gman will present man pages in an Evince window for you to view and print the man page. This requires GNOME Evince (command "evince") to be available on your system. LocalBrowse gman will launch a web browser window to show you the man page. This requires man2html and web browser (command "sensible-browser") to be available on your system. NetBrowse In this mode, you can view the pages with web browser and navigate from one man page to another by clicking the links in the man pages. This requires man2html, web browser (command "sensible-browser") and a HTTP server running on localhost. FILES
~/.gman Contains configuration information for gman, such as window size and paths where the manual pages are contained. For example, v_size = 400 h_size = 300 xterm_command = rxvt show_warning = 0 man_paths = /usr/local/man:/usr/local/share/man:/usr/share/man For more information, see init_context() function in gman.c for all the options avialiable. ~/.gman is read by gman on startup, and written on exit. SEE ALSO
man(1), man(7), xterm(1). AUTHOR
Gman was written by a smart guy named Xinkai Wang <aakwxk@hotmail.com>. Home page of gman is at: http://homex.coolconnect.com/user/xkwang/gman/ <> Gman May 2002 GMAN(1x)
All times are GMT -4. The time now is 01:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy