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

Ian Beckwith ianb at erislabs.net
Wed Jan 12 15:16:49 UTC 2011


The following commit has been merged in the master branch:
commit 7346d9d00c2acf45180ad3283ee87c0ff3006109
Author: Ian Beckwith <ianb at erislabs.net>
Date:   Wed Jan 12 14:28:53 2011 +0000

    cablesearch: remove stub w3_parse_option_hook

diff --git a/elvi/cablesearch b/elvi/cablesearch
index 89a4c56..de8b741 100755
--- a/elvi/cablesearch
+++ b/elvi/cablesearch
@@ -15,27 +15,17 @@ Usage: $w3_argv0 [options] [search words]...
 Description:
     Search leaked diplomatic cables.
 Local options:
-  If you can read this, it means your hard drive has already been wiped and 
+  If you can read this, it means your hard drive has already been wiped and
   the NSA alerted to your conniving schemes.
 EOF
     w3_global_usage
 }
 
-w3_parse_option_hook () {
-    opt="$1"
-    optarg="$2"
-    case "$opt" in
-    #-m|-mai*)           setopt  SURFRAW_openports_stype     "maintainer"    ;;
-    *) return 1 ;;
-    esac
-    return 0
-}
-
 w3_config
 w3_parse_args "$@"
 # w3_args now contains a list of arguments
 
 escaped_args=`w3_url_of_arg $w3_args`
 
-url="${SURFRAW_cablesearch}?q=${escaped_args}"    
+url="${SURFRAW_cablesearch}?q=${escaped_args}"
 w3_browse_url $url

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



More information about the Surfraw-commits mailing list