1WEBSEARCH(1)          User Contributed Perl Documentation         WEBSEARCH(1)
2
3
4

NAME

6       WebSearch - a web-searching application demonstrating WWW::Search
7

SYNOPSIS

9       WebSearch [-m MaxCount] [-e SearchEngine] [-o option] [-o option...]
10       [-ardvV] query
11

DESCRIPTION

13       This program is provides a command-line interface to web search
14       engines, listing all URLs found for a given query.  This program also
15       provides a simple demonstration of the WWW::Search Perl library for web
16       searches.
17
18       The program supports a number of search engines; use WebSearch --list
19       to see which backends are installed.
20
21       A more sophisticated client is AutoSearch which maintains a change list
22       of found objects.
23
24       For examples and hints about searches, see AutoSearch.
25

OPTIONS

27       WebSearch uses Getopt::Long, so you can use double-minus with long
28       option names, or single-minus with one-letter abbreviations.
29
30       --engine e_name, -e e_name
31               The string e_name is the name of (the module for) the desired
32               search engine.  Capitalization matters.  See `perldoc
33               WWW::Search` to find out what the default is (probably Null).
34
35               Use --list to get a list of installed backends.
36
37       --gui, -g
38               Perform the search to mimic the default browser-based search.
39               Not implemented for all backends, see the documentation for
40               each backend.
41
42       --list  Prints to STDERR a \n-separated list of installed backends.
43
44       --max max_count, -m max_count
45               Specify the maximum number of hits to retrieve.
46
47       --option o_string, -o o_string
48               Specify a search-engine option in the form 'key=value' (or just
49               'key').  Can be repeated for as many options are needed.  Keys
50               can be repeated.
51
52       --count, -c
53               As the first line of output, print the approximate hit count.
54               As the last line of output, print the actual hit count.
55
56       --terse, -t
57               Do not print any URLs.  Only useful if you also specify
58               --count.  If you specify --terse but not --count, there will be
59               no output no matter how many hits are found!
60
61       --all, -a
62               For each hit result, print all the URLs that the search engine
63               indicated were equivalent to it.  (Some URLs may refer to the
64               same object.)  Can be combined with --verbose; can not be
65               combined with --raw.
66
67       --raw, -r
68               For each hit result, print the raw HTML.  Not implemented for
69               all backends.
70
71       --verbose, -v
72               Verbose mode.  Enumerate the returned URLs and show the
73               description, score, date, etc. for each.
74
75       --VERSION, -V
76               Print version information and exit immediately.
77
78       --debug <i>, -d <i>
79               Display back-end debugging information (with debug level <i>)
80
81       --host <hostname.sub.domain>
82               Set the _host option for the WWW::Search object (backend-
83               dependent).
84
85       --port <i>
86               Set the _port option for the WWW::Search object (backend-
87               dependent).
88
89       --username <bbunny>
90               Set the username with which to login to the backend.
91
92       --password <c4rr0t5>
93               Set the password with which to login to the backend.
94
95       --lwpdebug, -l
96               Display low-level libwww-perl debugging information
97

ENVIRONMENT VARIABLES

99       The environment variable http_proxy (or HTTP_PROXY) specifies a proxy,
100       if any.
101

SEE ALSO

103       For the library, see WWW::Search.
104
105       For a more sophisticated client, see AutoSearch.
106

AUTHOR

108       "WebSearch" was written by John Heidemann, <johnh@isi.edu>.
109       "WebSearch" is maintained by Martin Thurn, <mthurn@cpan.org>.
110
112       Copyright (c) 1996-1997 University of Southern California.  All rights
113       reserved.
114
115       Redistribution and use in source and binary forms are permitted
116       provided that the above copyright notice and this paragraph are
117       duplicated in all such forms and that any documentation, advertising
118       materials, and other materials related to such distribution and use
119       acknowledge that the software was developed by the University of
120       Southern California, Information Sciences Institute.  The name of the
121       University may not be used to endorse or promote products derived from
122       this software without specific prior written permission.
123
124       THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
125       WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
126       MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
127
128
129
130perl v5.28.1                      2017-04-30                      WEBSEARCH(1)
Impressum