3
# elvis: fast -- Search the web using FAST Search (www.alltheweb.com)
7
def SURFRAW_fast_type all
12
Usage: $w3_argv0 [options] [search words]...
14
Surfraw search the web using FAST Search (www.alltheweb.com)
17
all | All of the words
18
any | Any of the words
19
phrase The exact phrase
20
Default: $SURFRAW_fast_type
21
Environment: SURFRAW_fast_type
26
w3_parse_option_hook () {
30
-type=*) setopt SURFRAW_fast_type $optarg ;;
38
# w3_args now contains a list of arguments
39
if test -z "$w3_args"; then
40
w3_browse_url "http://www.alltheweb.com/"
42
escaped_args=`w3_url_of_arg $w3_args`
43
w3_browse_url "http://www.alltheweb.com/cgi-bin/search?type=${SURFRAW_fast_type}&query=${escaped_args}&exec=FAST+Search"