[Surfraw-commits] [SCM] surfraw - a fast unix command line interface to WWW branch, master, updated. surfraw_2-2-5_1-132-g254233c

Ian Beckwith ianb at erislabs.net
Mon Oct 25 01:39:08 UTC 2010


The following commit has been merged in the master branch:
commit 3444e9f24cc4ead4c7ef9cb711e7b3980f43736e
Author: Ian Beckwith <ianb at erislabs.net>
Date:   Mon Oct 25 02:16:52 2010 +0100

    removed fast: now just another yahoo frontend

diff --git a/ChangeLog b/ChangeLog
index e6e471d..8a561c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,9 +4,10 @@
 	* yahoo: reduced query string to just p and n options.
 	* openbsd: support -misc and -tech. Thanks to
 	  Sunil Nimmagadda for the patch.
-	* removed altavista: is now just a front-end to yahoo.
 	* removed cddb: gracenote made the "hard decision"
 	  to remove the website search. sigh.
+	* removed altavista: is now just a front-end to yahoo.
+	* removed fast: another yahoo front-end.
 
 2010-08-22  Jameson Rollins <jrollins at finestructure.net>
 
diff --git a/elvi/fast b/elvi/fast
deleted file mode 100755
index ad40c83..0000000
--- a/elvi/fast
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-# $Id$
-# elvis: fast		-- Search the web using FAST Search (www.alltheweb.com)
-. surfraw || exit 1
-
-w3_config_hook () {
-def   SURFRAW_fast_type all
-}
-
-w3_usage_hook () {
-    cat <<EOF
-Usage: $w3_argv0 [options] [search words]...
-Description:
-  Surfraw search the web using FAST Search (www.alltheweb.com)
-Local options:
-  -type=                        Search for
-        all             |       All of the words
-        any             |       Any of the words
-        phrase                  The exact phrase
-                                Default: $SURFRAW_fast_type
-				Environment: SURFRAW_fast_type
-EOF
-    w3_global_usage
-}
-
-w3_parse_option_hook () {
-    opt="$1"
-    optarg="$2"
-    case "$opt" in
-	-type=*) setopt   SURFRAW_fast_type $optarg	;;
-	*) return 1 ;;
-    esac
-    return 0
-}
-
-w3_config
-w3_parse_args "$@"
-# w3_args now contains a list of arguments
-if test -z "$w3_args"; then
-    w3_browse_url "http://www.alltheweb.com/"
-else
-    escaped_args=`w3_url_of_arg $w3_args`
-    w3_browse_url "http://www.alltheweb.com/cgi-bin/search?type=${SURFRAW_fast_type}&query=${escaped_args}&exec=FAST+Search"
-fi
diff --git a/test/fast.test b/test/fast.test
deleted file mode 100644
index 8fc7f63..0000000
--- a/test/fast.test
+++ /dev/null
@@ -1,2 +0,0 @@
-fast foo
-1 - 10</span> of <span.*\d+

-- 
surfraw -  a fast unix command line interface to WWW



More information about the Surfraw-commits mailing list