[Surfraw-commits] [surfraw] 01/03: ask: fix
Ian Beckwith
ianb at alioth.debian.org
Sat Oct 5 20:12:32 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 538c18cca4e24fa214d5b4b0610ece219e48a383
Author: Ian Beckwith <ianb at erislabs.net>
Date: Sat Oct 5 20:18:19 2013 +0100
ask: fix
---
ChangeLog | 2 +-
elvi/ask | 2 +-
test/ask.test | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 3b133ea..f8afd07 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,7 +2,7 @@
* google: -g for groups clashed with -g for graphical browser.
Invoke groups with -G, -gr, -groups or -search=groups.
- * cisco: fix elvi & test.
+ * ask, cisco: fix elvi.
* alioth: changed test to SKIP:, works OK but won't talk
to LWP, hence test breaks.
diff --git a/elvi/ask b/elvi/ask
index 3af3650..f890e78 100755
--- a/elvi/ask
+++ b/elvi/ask
@@ -21,5 +21,5 @@ if test -z "$w3_args"; then
w3_browse_url "http://www.ask.com/"
else
escaped_args=`w3_url_of_arg $w3_args`
- w3_browse_url "http://www.askjeeves.com/main/askjeeves.asp?ask=${escaped_args}&origin=Jeeves&metasearch=yes&ads=no"
+ w3_browse_url "http://www.ask.com/web?q=${escaped_args}"
fi
diff --git a/test/ask.test b/test/ask.test
index e0df5d1..4295717 100644
--- a/test/ask.test
+++ b/test/ask.test
@@ -1,2 +1,2 @@
ask foo
-(foo.+){5,}.+Next
+Foo</b> Fighters
--
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