Package: surfraw
Version: 2.1.0-1
Severity: wishlist
Tags: patch
New elvi to run a yubnub command: http://yubnub.org/
copied shamelessly from the freshmeat elvi.
iain
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.11.12myVeryOwnKernelSwsusp2.1.9
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Versions of packages surfraw depends on:
ii debconf 1.4.51 Debian configuration management sy
ii elinks [www-browser] 0.10.4-7 advanced text-mode WWW browser
ii epiphany-browser [www-b 1.6.3-2 Intuitive GNOME web browser
ii links [www-browser] 0.99+1.00pre12-1 Character mode WWW browser
ii links2 [www-browser] 2.1pre16-2 Web browser running in both graphi
ii lynx [www-browser] 2.8.5-2 Text-mode WWW Browser
ii mozilla-browser [www-br 2:1.7.8-1 The Mozilla Internet application s
ii mozilla-firefox [www-br 1.0.4-3 lightweight web browser based on M
ii w3m [www-browser] 0.5.1-3 WWW browsable pager with excellent
Versions of packages surfraw recommends:
ii elinks [links] 0.10.4-7 advanced text-mode WWW browser
ii links 0.99+1.00pre12-1 Character mode WWW browser
ii w3m 0.5.1-3 WWW browsable pager with excellent
-- debconf information excluded
--
"If sharing a thing in no way diminishes it, it is not
rightly owned if it is not shared." -- St. Augustine
#rm -rf /
http://www.geeksoc.org/
#!/bin/sh
# elvis: yubnub: yubnub is the url-line for everyone. yubnub.org
# initial implementation by Iain D Broadfoot, ripped from the freshmeat elvi
. surfraw || exit 1
w3_usage_hook () {
cat <<EOF
Usage: $w3_argv0 [options] [command] [arguments]
Description:
Run a yubnub command
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://www.yubnub.org/"
else
escaped_args=`w3_url_of_arg $w3_args`
w3_browse_url "http://yubnub.org/parser/parse?command=${escaped_args}"
fi