[Surfraw-commits] [SCM] surfraw - a fast unix command line interface to WWW branch, 2.2.9_release_candidate, updated. surfraw_2-2-5_1-260-gf5c39cb
Jason Ryan
jasonwryan at gmail.com
Wed Apr 24 00:24:17 UTC 2013
The following commit has been merged in the 2.2.9_release_candidate branch:
commit f5c39cb1fe8ce8d9dcec69f2c902335ca3f648ae
Author: Jason Ryan <jasonwryan at gmail.com>
Date: Wed Apr 24 12:17:29 2013 +1200
Updated various elvi and their tests
cablesearch, cite, ctan, foldoc, github & imdb
diff --git a/elvi/cablesearch b/elvi/cablesearch
index 3b51641..982beae 100755
--- a/elvi/cablesearch
+++ b/elvi/cablesearch
@@ -1,12 +1,12 @@
#!/bin/sh
-# elvis: cablesearch -- search openports for OpenBSD packages
+# elvis: cablesearch -- search for leaked diplomatic communications
# coder at kyleisom.net 20110105
. surfraw || exit 1
w3_config_hook () {
# for when I figured out how to parse json in surfraw...
- def SURFRAW_cablesearch_api "http://cablesearch.org/cable/api/search"
- def SURFRAW_cablesearch "http://cablesearch.org/"
+ def SURFRAW_cablesearch_api "http://cablegatesearch.net/cable/api/search"
+ def SURFRAW_cablesearch "http://cablegatesearch.net/"
}
w3_usage_hook () {
diff --git a/elvi/foldoc b/elvi/foldoc
index 008b5f7..aed6b37 100755
--- a/elvi/foldoc
+++ b/elvi/foldoc
@@ -5,7 +5,7 @@
w3_usage_hook () {
cat <<EOF
-Usage: $w3_argv0 [options] [search words]...
+Usage: $w3_argv0 [search words]...
Description:
The Free On-Line Dictionary Of Computing (foldoc.org)
Example:
@@ -23,5 +23,5 @@ if test -z "$w3_args"; then
w3_browse_url "http://www.foldoc.org/"
else
escaped_args=`w3_url_of_arg $w3_args`
- w3_browse_url "http://foldoc.doc.ic.ac.uk/foldoc/foldoc.cgi?query=${escaped_args}&action=Search"
+ w3_browse_url "http://foldoc.org/${escaped_args}"
fi
diff --git a/test/cablesearch.test b/test/cablesearch.test
index a6c5d61..a8bc8ed 100644
--- a/test/cablesearch.test
+++ b/test/cablesearch.test
@@ -1,2 +1,2 @@
cablesearch america
-Original Source
+Chile
diff --git a/test/cite.test b/test/cite.test
index 91f3cd0..d3d009d 100644
--- a/test/cite.test
+++ b/test/cite.test
@@ -1,5 +1,6 @@
cite functional
-Results <strong>1 -
+Functions
+#Results <strong>1 -
cite -auth knuth
Results <strong>1 -
Results.*1 - 10
diff --git a/test/ctan.test b/test/ctan.test
index 95b4865..7a2234d 100644
--- a/test/ctan.test
+++ b/test/ctan.test
@@ -1,2 +1,2 @@
-ctan -d -i -n exlive
-texlive
+ctan -d -i -n texlive
+texlive-repo
diff --git a/test/github.test b/test/github.test
index a71f88f..a68a26b 100644
--- a/test/github.test
+++ b/test/github.test
@@ -1,5 +1,5 @@
github browser
-last activity.*ago
+mozilla
github window-manager
wmfs
github surfraw
diff --git a/test/imdb.test b/test/imdb.test
index 37e91e1..688f283 100644
--- a/test/imdb.test
+++ b/test/imdb.test
@@ -2,7 +2,7 @@ imdb Ralph Bates
Horror of Frankenstein
imdb -category=Titles As Good as It Gets
As Good as It Gets.*1997
-imdb -category=People Jet Li
-Lianjie
+imdb -category=Names Peter Dinklage
+The Station Agent
imdb -category=Characters Ralph Wiggum
-son of Clancy and Sarah Wiggum
+The Simpsons
--
surfraw - a fast unix command line interface to WWW
More information about the Surfraw-commits
mailing list