Package: surfraw
Version: 2.1.1
Severity: normal
Tags: patch

When doing surfraw -elvi the following is output:

...

xxx             -- Superior XXX, hot and ready to press (arXiv.org)
yahoo           -- Search Yahoo categories (www.yahoo.com)
yubnub: yubnub is the url-line for everyone. yubnub.org

this causes parse difficulties for the zsh completion which does a match
on: "$(surfraw -elvi)"}%%[[:space:]]##--*}

Additionally, the help is not very useful.

The following patch should fix it (attached as well):

--- yubnub      2005-09-22 17:41:26.000000000 -0400
+++ /tmp/yubnub 2005-12-03 14:26:06.000000000 -0500
@@ -1,5 +1,5 @@
 #!/bin/sh
-# elvis: yubnub: yubnub is the url-line for everyone. yubnub.org
+# elvis: yubnub                -- Use the social command-line for the web 
(yubnub.org)
 # initial implementation by Iain D Broadfoot, ripped from the freshmeat
 # elvi
 . surfraw || exit 1


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.12-1-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages surfraw depends on:
ii  elinks [www-browser]          0.10.6-1   advanced text-mode WWW browser
ii  galeon [www-browser]          1.3.21-8   GNOME web browser for advanced use
ii  mozilla-browser [www-browser] 2:1.7.12-1 The Mozilla Internet application s
ii  mozilla-firefox [www-browser] 1.0.7-1    lightweight web browser based on M
ii  w3m [www-browser]             0.5.1-4    WWW browsable pager with excellent

Versions of packages surfraw recommends:
ii  elinks [links]                0.10.6-1   advanced text-mode WWW browser
ii  w3m                           0.5.1-4    WWW browsable pager with excellent

-- no debconf information
--- yubnub      2005-09-22 17:41:26.000000000 -0400
+++ /tmp/yubnub 2005-12-03 14:26:06.000000000 -0500
@@ -1,5 +1,5 @@
 #!/bin/sh
-# elvis: yubnub: yubnub is the url-line for everyone. yubnub.org
+# elvis: yubnub                -- Use the social command-line for the web 
(yubnub.org)
 # initial implementation by Iain D Broadfoot, ripped from the freshmeat elvi
 . surfraw || exit 1
 

Reply via email to