[Surfraw-commits] [surfraw] 02/02: replace sunonesearch with oraclesearch
Ian Beckwith
ianb at alioth.debian.org
Sat Oct 5 18:57:26 UTC 2013
This is an automated email from the git hooks/post-receive script.
ianb pushed a commit to branch 2.2.9_release_candidate
in repository surfraw.
commit 13b63a9d4b4b336ab56087ebd603ab295b9c4d2e
Author: Ian Beckwith <ianb at erislabs.net>
Date: Sat Oct 5 19:57:04 2013 +0100
replace sunonesearch with oraclesearch
---
README | 2 +-
elvi/Makefile.am | 4 ++--
elvi/oraclesearch | 24 ++++++++++++++++++++++++
elvi/sunonesearch | 24 ------------------------
links.IN | 2 +-
test/oraclesearch.test | 2 ++
test/sunonesearch.test | 2 --
7 files changed, 30 insertions(+), 30 deletions(-)
diff --git a/README b/README
index 9be5683..67ff1b9 100644
--- a/README
+++ b/README
@@ -233,6 +233,7 @@ ntrs -- Search the NASA Technical Report Server
openbsd -- Search OpenBSD related information (www.openbsd.org)
openports -- search openports for OpenBSD packages
opensearch -- Search an OpenSearch-enabled website
+oraclesearch -- Search an OpenSearch-enabled website
pasearch -- Search the unofficial Penny Arcade archives (pipefour.org/pa)
pgdoc -- Search postgres documentation (www.pgdoc.com)
pgpkeys -- Search the PGP key database
@@ -256,7 +257,6 @@ sourceforge -- Search SourceForge (www.sourceforge.net)
springer -- Search Springer for Books and Articles
stack -- Search Stack Overflow
stockquote -- Get a single stock quote (multiple providers)
-sunonesearch -- Search Sun One Search (onesearch.sun.com)
thesaurus -- Look up word in Merriam-Webster's Thesaurus (www.m-w.com)
translate -- Translate human languages
urban -- Search urbandictionary.com for a definition
diff --git a/elvi/Makefile.am b/elvi/Makefile.am
index 9925d77..ba0d99e 100644
--- a/elvi/Makefile.am
+++ b/elvi/Makefile.am
@@ -81,6 +81,7 @@ dist_elvi_SCRIPTS = \
openbsd \
openports \
opensearch \
+ oraclesearch \
pasearch \
pgdoc \
pgpkeys \
@@ -104,7 +105,6 @@ dist_elvi_SCRIPTS = \
springer \
stack \
stockquote \
- sunonesearch \
thesaurus \
translate \
urban \
@@ -117,7 +117,7 @@ dist_elvi_SCRIPTS = \
wetandwild \
wikipedia \
woffle \
- wolfram \
+ wolfram \
worldwidescience \
yahoo \
yandex \
diff --git a/elvi/oraclesearch b/elvi/oraclesearch
new file mode 100755
index 0000000..1404125
--- /dev/null
+++ b/elvi/oraclesearch
@@ -0,0 +1,24 @@
+#!/bin/sh
+# elvis: oraclesearch -- Search Oracle (search.oracle.com)
+
+. surfraw || exit 1
+
+w3_usage_hook () {
+ cat <<EOF
+Usage: $w3_argv0 [options] [search words]...
+Description:
+ Surfraw search Oracle (search.oracle.com)
+EOF
+ w3_global_usage
+}
+
+w3_config
+w3_parse_args "$@"
+
+if test -z "$w3_args"; then
+ w3_browse_url "http://search.oracle.com/search/search"
+else
+ escaped_args=`w3_url_of_arg $w3_args`
+ w3_browse_url "http://search.oracle.com/search/search?q=${escaped_args}"
+
+fi
diff --git a/elvi/sunonesearch b/elvi/sunonesearch
deleted file mode 100755
index 267b938..0000000
--- a/elvi/sunonesearch
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-# $Id$
-# elvis: sunonesearch -- Search Sun One Search (onesearch.sun.com)
-
-. surfraw || exit 1
-
-w3_usage_hook () {
- cat <<EOF
-Usage: $w3_argv0 [options] [search words]...
-Description:
- Surfraw search Sun One Search (onesearch.sun.com)
-EOF
- w3_global_usage
-}
-
-w3_config
-w3_parse_args "$@"
-# w3_args now contains a list of arguments
-if test -z "$w3_args"; then
- w3_browse_url "http://onesearch.sun.com/"
-else
- escaped_args=`w3_url_of_arg $w3_args`
- w3_browse_url "http://search.sun.com/search/onesearch/index.jsp?qt=${escaped_args}"
-fi
diff --git a/links.IN b/links.IN
index aa7f9f4..e0afe63 100644
--- a/links.IN
+++ b/links.IN
@@ -74,6 +74,7 @@ elvi.1sr.gz @mandir@/man1/ntrs.1sr.gz
elvi.1sr.gz @mandir@/man1/openbsd.1sr.gz
elvi.1sr.gz @mandir@/man1/openports.1sr.gz
elvi.1sr.gz @mandir@/man1/opensearch.1sr.gz
+elvi.1sr.gz @mandir@/man1/oraclesearch.1sr.gz
elvi.1sr.gz @mandir@/man1/pasearch.1sr.gz
elvi.1sr.gz @mandir@/man1/pgdoc.1sr.gz
elvi.1sr.gz @mandir@/man1/pgpkeys.1sr.gz
@@ -97,7 +98,6 @@ elvi.1sr.gz @mandir@/man1/sourceforge.1sr.gz
elvi.1sr.gz @mandir@/man1/springer.1sr.gz
elvi.1sr.gz @mandir@/man1/stack.1sr.gz
elvi.1sr.gz @mandir@/man1/stockquote.1sr.gz
-elvi.1sr.gz @mandir@/man1/sunonesearch.1sr.gz
elvi.1sr.gz @mandir@/man1/thesaurus.1sr.gz
elvi.1sr.gz @mandir@/man1/translate.1sr.gz
elvi.1sr.gz @mandir@/man1/urban.1sr.gz
diff --git a/test/oraclesearch.test b/test/oraclesearch.test
new file mode 100644
index 0000000..6812192
--- /dev/null
+++ b/test/oraclesearch.test
@@ -0,0 +1,2 @@
+oraclesearch mysql
+Community Edition
diff --git a/test/sunonesearch.test b/test/sunonesearch.test
deleted file mode 100644
index fd1b967..0000000
--- a/test/sunonesearch.test
+++ /dev/null
@@ -1,2 +0,0 @@
-sunonesearch solaris
-Solaris
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/surfraw/surfraw.git
More information about the Surfraw-commits
mailing list