[Surfraw-commits] [surfraw] 01/01: Applied Lucas Hoffmann's whitespace fixes
jason ryan
jasonwryan-guest at moszumanska.debian.org
Sat Oct 4 21:29:25 UTC 2014
This is an automated email from the git hooks/post-receive script.
jasonwryan-guest pushed a commit to branch master
in repository surfraw.
commit 4d0660e38c328bc519a22069882570965361c225
Author: Jason Ryan <jasonwryan at gmail.com>
Date: Sun Oct 5 10:27:40 2014 +1300
Applied Lucas Hoffmann's whitespace fixes
---
AUTHORS | 2 +-
INSTALL | 2 +-
NEWS | 4 ++--
banner | 2 +-
debian/changelog | 18 +++++++++---------
debian/copyright | 4 ++--
debian/rules | 2 +-
elvi/acronym | 8 ++++----
elvi/cnn | 2 +-
elvi/currency | 2 +-
elvi/debbugs | 32 ++++++++++++++++----------------
elvi/discogs | 4 ++--
elvi/dmoz | 6 +++---
elvi/freedb | 2 +-
elvi/github | 8 ++++----
elvi/jamendo | 2 +-
elvi/nlab | 2 +-
elvi/ntrs | 4 ++--
elvi/openports | 2 +-
elvi/pin | 14 +++++++-------
elvi/rfc | 22 +++++++++++-----------
elvi/scicom | 2 +-
elvi/sourceforge | 2 +-
elvi/springer | 2 +-
elvi/translate | 4 ++--
elvi/w3css | 4 ++--
elvi/w3link | 2 +-
elvi/w3rdf | 2 +-
elvi/wolfram | 2 +-
elvi/yacy | 2 +-
examples/hooks.lua | 2 +-
opensearch-genquery | 6 +++---
surfraw-bash-completion.IN | 2 +-
surfraw-update-path.IN | 10 +++++-----
surfraw.1.IN | 2 +-
surfraw.IN | 2 +-
surfraw.spec.in | 12 ++++++------
test/l1sp.test | 2 +-
38 files changed, 102 insertions(+), 102 deletions(-)
diff --git a/AUTHORS b/AUTHORS
index 2bab204..f25b9fe 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -133,7 +133,7 @@ Paulo Almeida <paulo at diasalmeida.com>
elvi: priberam
Shain Singh <shain.singh at gmail.com>
- elvi: cisco, f5
+ elvi: cisco, f5
Manolo Martínez <manolo at austrohungaro.com>
examples: elinks integration (hooks.lua)
diff --git a/INSTALL b/INSTALL
index 0b9c940..7f59de4 100644
--- a/INSTALL
+++ b/INSTALL
@@ -5,7 +5,7 @@
\____ \ | | | || __ / | ___) | __ / | ___ || || || |
_____) )| |___| || | \ \ | | | | \ \ | | | || || || |
(______/ \_____/ |_| |_||_| |_| |_||_| |_| \_____/
-
+
Surfraw - Shell Users' Revolutionary Front Rage Against the Web
Oh Baybe
diff --git a/NEWS b/NEWS
index 123cc61..6eac192 100644
--- a/NEWS
+++ b/NEWS
@@ -324,7 +324,7 @@ relevant config files.
* Fixed surfraw help text
* Added man page links for pgpkeys, ebay and sharereactor
* Added linda override (and surfraw.dirs) for usr-lib-in-arch-all
- * Added debhelper tokens to prerm/postinst
+ * Added debhelper tokens to prerm/postinst
(they were in released 2.0-1 but not CVS)
* Rewrote man page surfraw.1.in, added man page elvi.1sr.in
Both go via autoconf.
@@ -355,7 +355,7 @@ relevant config files.
* added elvi/surfraw_elvi to CLEANFILES & removed it from cvs, as it is
generated on build.
* disabled ifs quoting in elvi that don't like it:
- freedb, happypenguin, jake, rhyme, scaleplus,
+ freedb, happypenguin, jake, rhyme, scaleplus,
sharereactor, thesaurus, webster, deblists.
* Added note to HACKING explaining how to disable ifs quoting
* synced NAMESPACE branch with HEAD
diff --git a/banner b/banner
index 720138d..f14af48 100644
--- a/banner
+++ b/banner
@@ -4,7 +4,7 @@
\____ \ | | | || __ / | ___) | __ / | ___ || || || |
_____) )| |___| || | \ \ | | | | \ \ | | | || || || |
(______/ \_____/ |_| |_||_| |_| |_||_| |_| \_____/
-
+
Surfraw - Shell Users' Revolutionary Front Rage Against the Web
Oh Baybe
diff --git a/debian/changelog b/debian/changelog
index 11e9e70..c45b068 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -88,7 +88,7 @@ surfraw (2.2.3-1) unstable; urgency=low
* New upstream version.
+ Now defaults to graphical mode, see surfraw(1) for how to change it back.
* Change default text browser to www-browser and default
- graphical browser to sensible-browser.
+ graphical browser to sensible-browser.
-- Ian Beckwith <ianb at erislabs.net> Tue, 26 Aug 2008 22:36:24 +0100
@@ -316,12 +316,12 @@ surfraw (2.1.1) unstable; urgency=low
+ Removed debconf information about new elvi structure, now that
Sarge has been released with it. Moved it to README.Debian.
(Closes: #313852, #312979, #319841, #319842)
- + New elvis: yubnub (by Iain D Broadfoot) (Closes: #315188)
+ + New elvis: yubnub (by Iain D Broadfoot) (Closes: #315188)
+ Removed unused SURFRAW_p0rn option (Closes: #324166)
+ Bumped standards version (no changes required)
+ Change to a native package, most of the elvis are now more or less
Debian specific anyway
-
+
-- Moritz Muehlenhoff <jmm at inutil.org> Fri, 29 Apr 2005 16:20:39 +0200
surfraw (2.1.0-1) unstable; urgency=medium
@@ -391,7 +391,7 @@ surfraw (2.0.1-1) unstable; urgency=low
* Fixed surfraw help text (Closes: #230109)
* Added man page links for pgpkeys, ebay and sharereactor
* Added linda override (and surfraw.dirs) for usr-lib-in-arch-all
- * Added debhelper tokens to prerm/postinst
+ * Added debhelper tokens to prerm/postinst
(they were in released 2.0-1 but not CVS)
* Rewrote man page surfraw.1.in, added man page elvi.1sr.in
Both go via autoconf.
@@ -402,7 +402,7 @@ surfraw (2.0.1-1) unstable; urgency=low
* Updated README with text from new man page.
* Added "Copyright (c) 2003, 2004 The Surfraw-Devel Team
<surfraw-devel at lists.alioth.debian.org>" to the list of copyright holders.
- * Fixed quoting so sr google foo "bar baz" qux works
+ * Fixed quoting so sr google foo "bar baz" qux works
* Makefile.am: Added missing files to EXTRA_DIST
* Added a debconf note (only visible if upgrading from 2.0-1)
explaining the elvi have moved again.
@@ -424,7 +424,7 @@ surfraw (2.0.1-1) unstable; urgency=low
* configure.in, elvi/Makefile.in: fixed ELVIDIR quoting
* Added elvi/surfraw_elvi to CLEANFILES & removed it from cvs, as it is
generated on build.
- * Disabled ifs quoting in elvi that don't like it:
+ * Disabled ifs quoting in elvi that don't like it:
freedb, happypenguin, jake, rhyme, scaleplus, sharereactor
thesaurus, webster, deblists.
* Added note to HACKING explaining how to disable ifs quoting
@@ -469,7 +469,7 @@ surfraw (2.0-1) unstable; urgency=low
- Complaint about correct behaviour (Closes: #173714).
- Adds functionality already present in debcontents (Closes: #144080).
- Obsoleted by sensible-browser (imho) (Closes: #155423).
-
+
-- Ian Beckwith <ianb at nessie.mcc.ac.uk> Sun, 9 Nov 2003 22:02:44 +0000
surfraw (1.0.7-3) unstable; urgency=low
@@ -502,13 +502,13 @@ surfraw (1.0.7-2) unstable; urgency=low
surfraw (1.0.7-1) unstable; urgency=low
- * New upstream release
+ * New upstream release
* New debian/rules with DH_COMPAT=3 too
* Elvi: linuxdoc renamed to slinuxdoc
translate renamed to stranslate
* Removed unuseful scripts in debian directory
* Removed emacs settings in changelog
-
+
-- Christian Surchi <csurchi at debian.org> Sat, 2 Mar 2002 23:54:34 +0100
surfraw (1.0.4-1) unstable; urgency=low
diff --git a/debian/copyright b/debian/copyright
index a986c63..fbe1db2 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -4,7 +4,7 @@ Upstream-Contact: Surfraw-Devel <surfraw-devel at lists.alioth.debian.org>
Source: http://surfraw.alioth.debian.org/dist/
Comment:
This package has initially been debianized by Christian Surchi
- <csurchi at debian.org> since Sat, 5 Aug 2000 18:59:30 +0200.
+ <csurchi at debian.org> since Sat, 5 Aug 2000 18:59:30 +0200.
.
surfraw has originally been developed by Julian Assange <proff at iq.org>,
and was originally downloaded from ftp://ftp.netbsd.org/pub/NetBSD/misc/proff/
@@ -75,7 +75,7 @@ License: other
FSF changes to this file are in the public domain.
Files: Makefile.in */Makefile.in
-Copyright: © 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+Copyright: © 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2003, 2004, 2005, 2006 Free Software Foundation, Inc.
License: other
This Makefile.in is free software; the Free Software Foundation
diff --git a/debian/rules b/debian/rules
index e443901..7f49074 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,7 +31,7 @@ build-arch: build-stamp
build-indep: build-stamp
-build-stamp: configure-stamp
+build-stamp: configure-stamp
dh_testdir
# Add here commands to compile the package.
diff --git a/elvi/acronym b/elvi/acronym
index 56199ce..04d719a 100755
--- a/elvi/acronym
+++ b/elvi/acronym
@@ -17,7 +17,7 @@ w3_config_hook () {
defyn SURFRAW_acronym_gen 0
defyn SURFRAW_acronym_alpha 0
defyn SURFRAW_acronym_attic 0
- def SURFRAW_acronym_path
+ def SURFRAW_acronym_path
def SURFRAW_acronym_par
}
@@ -99,8 +99,8 @@ w3_parse_option_hook () {
setoptyn SURFRAW_acronym_wim 0
setoptyn SURFRAW_acronym_zip 0 ;;
#Word(s) in meaning match
- -w*) setoptyn SURFRAW_acronym_wim 1
- setoptyn SURFRAW_acronym_exa 0
+ -w*) setoptyn SURFRAW_acronym_wim 1
+ setoptyn SURFRAW_acronym_exa 0
setoptyn SURFRAW_acronym_zip 0 ;;
#Location (postal code, name) match
-z*) setoptyn SURFRAW_acronym_zip 1
@@ -157,7 +157,7 @@ else
par="Business"
elif [ "$SURFRAW_acronym_pop" = 1 ]; then
par="Slang"
- fi
+ fi
SURFRAW_acronym_par="$SURFRAW_acronym_par&Category=$par"
fi
if [ "$SURFRAW_acronym_alpha" = 1 ]; then
diff --git a/elvi/cnn b/elvi/cnn
index 1c316ce..6b25ef1 100755
--- a/elvi/cnn
+++ b/elvi/cnn
@@ -2,7 +2,7 @@
# $Id$
# elvis: cnn -- Search on CNN (cnn.com)
# version 0.1 by Ross Campbell rcampbel3 at yahoo.com
-# version 0.2 updated url
+# version 0.2 updated url
. surfraw || exit 1
w3_usage_hook () {
diff --git a/elvi/currency b/elvi/currency
index e49c05a..559d22f 100755
--- a/elvi/currency
+++ b/elvi/currency
@@ -326,7 +326,7 @@ JOD West Bank, Jordan Dinar
MAD Western Sahara, Morocco Dirham
WST Western Samoa (Samoa), Tala
YER Yemen, Rial
-ZMK Zambia, Kwacha
+ZMK Zambia, Kwacha
ZWD Zimbabwe, Dollar
EOT
diff --git a/elvi/debbugs b/elvi/debbugs
index b05ed84..2a46471 100755
--- a/elvi/debbugs
+++ b/elvi/debbugs
@@ -38,7 +38,7 @@ Examples:
debbugs surfraw | show bugs for surfraw package
debbugs -raw -rb surfraw | show surfraw bugs newest first
Defaults if -search is not supplied:
- If arg is numeric, searches by bug number,
+ If arg is numeric, searches by bug number,
If it contains '@', searches by maintainer,
Otherwise, searches by package.
Local options:
@@ -78,7 +78,7 @@ Local options:
-incsev=sev1,sev2 Include given severities.
-exsev=sev3,sev4 Exclude given severities.
Available severities:
- critical, grave, serious, important,
+ critical, grave, serious, important,
normal, minor, wishlist, fixed.
-inctag=tag1,tag2 Include given tags.
-extag=tag3,tag4 Exclude given tags.
@@ -101,23 +101,23 @@ w3_parse_option_hook () {
-se*=*) setopt SURFRAW_debbugs_search $optarg; setoptyn setsearch 1 ;;
-ve*=*) setopt SURFRAW_debbugs_version $optarg ;;
-dis*=*) setopt SURFRAW_debbugs_dist $optarg ;;
- -arc*) setoptyn SURFRAW_debbugs_archive 1;;
- -mer*) setoptyn SURFRAW_debbugs_merge 1;;
- -raw*) setoptyn SURFRAW_debbugs_statussort 0;;
- -noh*) setoptyn SURFRAW_debbugs_head 0;;
- -nof*) setoptyn SURFRAW_debbugs_foot 0;;
- -in*stat*=*) setopt SURFRAW_debbugs_incstatus $optarg;;
- -ex*stat*=*) setopt SURFRAW_debbugs_excstatus $optarg;;
- -in*sev*=*) setopt SURFRAW_debbugs_incsev $optarg;;
- -ex*sev*=*) setopt SURFRAW_debbugs_excsev $optarg;;
- -in*tag*=*) setopt SURFRAW_debbugs_inctag $optarg;;
+ -arc*) setoptyn SURFRAW_debbugs_archive 1;;
+ -mer*) setoptyn SURFRAW_debbugs_merge 1;;
+ -raw*) setoptyn SURFRAW_debbugs_statussort 0;;
+ -noh*) setoptyn SURFRAW_debbugs_head 0;;
+ -nof*) setoptyn SURFRAW_debbugs_foot 0;;
+ -in*stat*=*) setopt SURFRAW_debbugs_incstatus $optarg;;
+ -ex*stat*=*) setopt SURFRAW_debbugs_excstatus $optarg;;
+ -in*sev*=*) setopt SURFRAW_debbugs_incsev $optarg;;
+ -ex*sev*=*) setopt SURFRAW_debbugs_excsev $optarg;;
+ -in*tag*=*) setopt SURFRAW_debbugs_inctag $optarg;;
-ex*tag*=*) setopt SURFRAW_debbugs_exctag $optarg;;
-rb*) setoptyn SURFRAW_debbugs_revbugs 1;;
-rst*) setoptyn SURFRAW_debbugs_revstat 1;;
-rse*) setoptyn SURFRAW_debbugs_revsev 1;;
- -mb*) setoptyn SURFRAW_debbugs_asmbox 1;;
- -sh*) setoptyn SURFRAW_debbugs_headers 1;;
- -bo*) setoptyn SURFRAW_debbugs_boring 1;;
+ -mb*) setoptyn SURFRAW_debbugs_asmbox 1;;
+ -sh*) setoptyn SURFRAW_debbugs_headers 1;;
+ -bo*) setoptyn SURFRAW_debbugs_boring 1;;
*) return 1 ;;
esac
return 0
@@ -148,7 +148,7 @@ else
setopt SURFRAW_debbugs_search "maint"
fi
fi
-
+
if ifyes donum
then
url="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=${escaped_args}"
diff --git a/elvi/discogs b/elvi/discogs
index 6f5ec37..6ddbfc3 100755
--- a/elvi/discogs
+++ b/elvi/discogs
@@ -21,7 +21,7 @@ Local options:
artists |
labels |
releases |
- catno
+ catno
Default: $SURFRAW_discogs_category
Environment: SURFRAW_discogs_category
EOF
@@ -32,7 +32,7 @@ w3_parse_option_hook()
{
opt="$1"
optarg="$2"
-
+
case "$opt" in
-category=*) setopt SURFRAW_discogs_category $optarg ;;
*) return 1 ;;
diff --git a/elvi/dmoz b/elvi/dmoz
index 9582be3..9ad0d43 100755
--- a/elvi/dmoz
+++ b/elvi/dmoz
@@ -20,10 +20,10 @@ Description:
Local options:
-cat=CATEGORY Search category
Default: all
- Values: Arts, Business, Computers, Games,
+ Values: Arts, Business, Computers, Games,
Health, Home, Kids_and_Teens, News,
- Recreation, Reference, Regional,
- Science, Shopping, Society, Sports,
+ Recreation, Reference, Regional,
+ Science, Shopping, Society, Sports,
World, Adult
Environment: SURFRAW_dmoz_category
-type=SEARCHTYPE Search type
diff --git a/elvi/freedb b/elvi/freedb
index 4316918..5e0e603 100755
--- a/elvi/freedb
+++ b/elvi/freedb
@@ -83,7 +83,7 @@ w3_parse_option_hook () {
-cat*=*) if [ "$optarg" = "all" ]; then
setoptyn SURFRAW_freedb_allcats 1
SURFRAW_freedb_cats=""
- else
+ else
setoptyn SURFRAW_freedb_allcats 0
SURFRAW_freedb_cats="${SURFRAW_freedb_cats}&cats%5B%5D=$optarg"
fi
diff --git a/elvi/github b/elvi/github
index c45a1bf..316d76a 100755
--- a/elvi/github
+++ b/elvi/github
@@ -6,24 +6,24 @@
w3_config_hook () {
def SURFRAW_git_type "$SURFRAW_type"
-def SURFRAW_git_lang any
+def SURFRAW_git_lang any
}
w3_usage_hook () {
cat <<EOF
Usage: $w3_argv0 [options] [search-string]
-Description:
+Description:
Search Github (https://github.com)
Local options:
-l=LANGUAGE | -lang=LANGUAGE
- Languages are case sensitive, eg., C, Shell, Python etc.
+ Languages are case sensitive, eg., C, Shell, Python etc.
Languages with spaces must be conjoined with a "+", eg, Common+Lisp
Default: Any
-type=SEARCH | -t=SEARCH
- every | Everything
+ every | Everything
repo | Repositories
user | Users
code | Code
diff --git a/elvi/jamendo b/elvi/jamendo
index ebc9a67..eb0beb8 100755
--- a/elvi/jamendo
+++ b/elvi/jamendo
@@ -57,7 +57,7 @@ else
de|german) setopt SURFRAW_jamendo_lang de ;;
it|italian) setopt SURFRAW_jamendo_lang it ;;
pt|portuguese) setopt SURFRAW_jamendo_lang br;;
- pl|polish) setopt SURFRAW_jamendo_lang pl ;;
+ pl|polish) setopt SURFRAW_jamendo_lang pl ;;
ru|russian) setopt SURFRAW_jamendo_lang ru ;;
es|spanish) setopt SURFRAW_jamendo_lang es ;;
*) setopt SURFRAW_jamendo_lang en ;;
diff --git a/elvi/nlab b/elvi/nlab
index f35d72a..2e086fe 100755
--- a/elvi/nlab
+++ b/elvi/nlab
@@ -11,7 +11,7 @@ Description:
Search the nLab Wiki (http://ncatlab.org)
Local options:
- The nLab wiki search accepts regular expressions as search terms.
+ The nLab wiki search accepts regular expressions as search terms.
EOF
w3_global_usage
diff --git a/elvi/ntrs b/elvi/ntrs
index c12a685..186b4ca 100755
--- a/elvi/ntrs
+++ b/elvi/ntrs
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# author: Wim Van Hoydonck
+# author: Wim Van Hoydonck
#
# elvis: ntrs -- Search the NASA Technical Report Server
. surfraw || exit 1
@@ -75,7 +75,7 @@ if null "$w3_args"; then
w3_browse_url "http://ntrs.nasa.gov/search.jsp"
else
# TODO: combine multiple searches, e.g.
- # first search the abstract for certain keywords,
+ # first search the abstract for certain keywords,
# then search the authors of those results
# this gives urls that look like this:
#http://ntrs.nasa.gov/search.jsp?N=0&Ntk=Abstract|AuthorList&Ntx=mode%20matchall|mode%20matchall&Ntt=free%20wake|wachspress
diff --git a/elvi/openports b/elvi/openports
index 75bf310..577be98 100755
--- a/elvi/openports
+++ b/elvi/openports
@@ -54,5 +54,5 @@ if test -z $SURFRAW_openports_stype ; then
else
url="${SURFRAW_openports_search}stype=${SURFRAW_openports_stype}&so=${escaped_args}"
fi
-
+
w3_browse_url $url
diff --git a/elvi/pin b/elvi/pin
index 28edd90..79b9a58 100755
--- a/elvi/pin
+++ b/elvi/pin
@@ -18,17 +18,17 @@ Description:
Surfraw search Pinboard bookmarks (http://pinboard.in)
Local options:
- Default search (without any options) includes tags, titles and descriptions
+ Default search (without any options) includes tags, titles and descriptions
and is not limited to a specific number of search terms.
-popular | -p Search popular tags
-recent | -r Search recent tags
- -tags=TAGS | -t=TAGS Only search tags (separate a maximum of 3 TAGS with
+ -tags=TAGS | -t=TAGS Only search tags (separate a maximum of 3 TAGS with
a "+" eg., unix+linux)
-user=NAME | -u=NAME Search a user's bookmarks
-
-
+
+
EOF
w3_global_usage
}
@@ -47,7 +47,7 @@ w3_parse_option_hook () {
}
# create tag string
-tags () {
+tags () {
local IFS=+
for tag in $SURFRAW_pinboard_tags; do
@@ -71,8 +71,8 @@ elif [ "$SURFRAW_pinboard_popular" = 1 ]; then
fi
# Run through the other possibilities...
-if [ -z "$w3_args" ]; then
-
+if [ -z "$w3_args" ]; then
+
if [ -n "$SURFRAW_pinboard_user" ] && [ -n "$SURFRAW_pinboard_tags" ]; then
w3_browse_url "${base_url}u:$SURFRAW_pinboard_user/$(tags)"
diff --git a/elvi/rfc b/elvi/rfc
index 06b5acc..b643516 100755
--- a/elvi/rfc
+++ b/elvi/rfc
@@ -37,10 +37,10 @@ Local options:
-ftp Retrieve RFCs via FTP instead of HTTP
-field= Which field to search
all | All fields
- number |
- title |
- author |
- keyword
+ number |
+ title |
+ author |
+ keyword
Default: if args are numeric, "number",
else "all"
Environment: SURFRAW_rfc_field
@@ -149,39 +149,39 @@ else
*) url="$url&opt=All+Fields";;
esac
fi
-
+
url="$url&num=$SURFRAW_rfc_results"
url="$url&filefmt=$SURFRAW_rfc_output"
url="$url&search_doc=search_$SURFRAW_rfc_search"
-
+
if ifyes SURFRAW_rfc_matchexact
- then
+ then
url="$url&match_method=entire"
else
url="$url&match_method=prefix"
fi
-
+
if ifyes SURFRAW_rfc_showabs
then
url="$url&abstract=abson"
else
url="$url&abstract=absoff"
fi
-
+
if ifyes SURFRAW_rfc_showkw
then
url="$url&keywords=keyon"
else
url="$url&keywords=keyoff"
fi
-
+
if ifyes SURFRAW_rfc_reverse
then
url="$url&sort_method=older"
else
url="$url&sort_method=newer"
fi
-
+
if ifyes SURFRAW_rfc_ftp
then
url="$url&format=ftp"
diff --git a/elvi/scicom b/elvi/scicom
index 670fe2a..2be6caf 100755
--- a/elvi/scicom
+++ b/elvi/scicom
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# author: Wim Van Hoydonck
+# author: Wim Van Hoydonck
#
# elvis: scicom -- Search Scientific Commons
. surfraw || exit 1
diff --git a/elvi/sourceforge b/elvi/sourceforge
index 61738be..451608f 100755
--- a/elvi/sourceforge
+++ b/elvi/sourceforge
@@ -53,7 +53,7 @@ if test -z "$w3_args"; then
w3_browse_url "http://www.sourceforge.net/"
else
escaped_args=`w3_url_of_arg $w3_args`
- if `yesno SURFRAW_sourceforge_exact`
+ if `yesno SURFRAW_sourceforge_exact`
then
isexact=1
else
diff --git a/elvi/springer b/elvi/springer
index 6de33e5..692a06c 100755
--- a/elvi/springer
+++ b/elvi/springer
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# author: Wim Van Hoydonck
+# author: Wim Van Hoydonck
#
# elvis: springer -- Search Springer for Books and Articles
. surfraw || exit 1
diff --git a/elvi/translate b/elvi/translate
index 7424537..02a346c 100755
--- a/elvi/translate
+++ b/elvi/translate
@@ -20,7 +20,7 @@ Local options:
-to=LANGUAGE Destination language
Environment: SURFRAW_translate_to, SURFRAW_lang
-
+
Languages (any provider):
nl Dutch
en English
@@ -59,7 +59,7 @@ Languages (Google only):
ka Georgian
ht Hatian Creole
iw Hebrew
- hi Hindi
+ hi Hindi
hu Hungarian
is Icelandic
id Indonesian
diff --git a/elvi/w3css b/elvi/w3css
index 0694597..3631884 100755
--- a/elvi/w3css
+++ b/elvi/w3css
@@ -27,8 +27,8 @@ Local options:
Environment: SURFRAW_w3css_profile
-medium=MEDIUM User Medium
Default: $SURFRAW_w3css_medium
- Values: all, aural, braille, embossed,
- handheld, print, projection,
+ Values: all, aural, braille, embossed,
+ handheld, print, projection,
screen, tty, tv, presentation
Environment: SURFRAW_w3css_medium
EOF
diff --git a/elvi/w3link b/elvi/w3link
index 3e51a6e..40ed1fa 100755
--- a/elvi/w3link
+++ b/elvi/w3link
@@ -33,7 +33,7 @@ Local options:
Environment: SURFRAW_w3link_dhidedrd
-nolang Don't send the Accept-Language: header.
Environment: SURFRAW_w3link_noacceptlanguage
- -cookie Save options in a cookie.
+ -cookie Save options in a cookie.
Environment: SURFRAW_w3link_cookie
EOF
w3_global_usage
diff --git a/elvi/w3rdf b/elvi/w3rdf
index ea5346f..3f065af 100755
--- a/elvi/w3rdf
+++ b/elvi/w3rdf
@@ -31,7 +31,7 @@ Local options:
Default: Triples
Environment: SURFRAW_w3rdf_output
-format=TYPE Graph Format
- Values: PNG_EMBED, PNG_LINK, SVG_LINK,
+ Values: PNG_EMBED, PNG_LINK, SVG_LINK,
SVG_EMBED, GIF_EMBED, GIF_LINK,
PS_LINK, HP_PCL_LINK, HP_GL_LINK,
ISV_ZVTM
diff --git a/elvi/wolfram b/elvi/wolfram
index 09f7d7b..939786a 100755
--- a/elvi/wolfram
+++ b/elvi/wolfram
@@ -16,7 +16,7 @@ Usage: $w3_argv0 [options] [search words]...
Description:
Surfraw search the web using wolfram (www.wolfram.com)
Local options:
- (null)
+ (null)
EOF
w3_global_usage
}
diff --git a/elvi/yacy b/elvi/yacy
index 598bb1f..6cd91aa 100755
--- a/elvi/yacy
+++ b/elvi/yacy
@@ -59,7 +59,7 @@ else
searchtype=image
fi
url="${url}&contentdom=${searchtype}"
-
+
if ifyes SURFRAW_yacy_indexonly
then
url="${url}&indexof=on"
diff --git a/examples/hooks.lua b/examples/hooks.lua
index b14fde5..d05cb08 100644
--- a/examples/hooks.lua
+++ b/examples/hooks.lua
@@ -1,6 +1,6 @@
-- Using surfraw from elinks. To search using an elvi from
-- the Go to URL dialog box, use the syntax "!elvis your
--- search terms". E.g., to search for
+-- search terms". E.g., to search for
-- Wargames torrents in piratebay, type "!piratebay
-- wargames" in the Go to URL dialog box.
--
diff --git a/opensearch-genquery b/opensearch-genquery
index 0b4d102..9e0f145 100755
--- a/opensearch-genquery
+++ b/opensearch-genquery
@@ -71,7 +71,7 @@ if($@)
elsif(($@ =~/parsing/i) ||
($@ =~/node\s+should/i))
{
- $errstr="Error parsing OpenSearch Description at $url";
+ $errstr="Error parsing OpenSearch Description at $url";
$exitcode=2;
}
else
@@ -143,7 +143,7 @@ if(!defined($besturl))
}
exit 3;
}
-
+
print $besturl->prepare_query(\%options),"\n";
exit 0;
@@ -196,7 +196,7 @@ I<URL> S<I<SEARCH TERMS...>>
Output the URL of a query generated from an OpenSearch Description
file at I<URL>, with the specified S<I<SEARCH TERMS>> and other
-options filled in.
+options filled in.
If multiple search types are available, B<-H>,
B<-A> and B<-R> can be used to specify which type is wanted. For
diff --git a/surfraw-bash-completion.IN b/surfraw-bash-completion.IN
index 09444fc..5a7024e 100644
--- a/surfraw-bash-completion.IN
+++ b/surfraw-bash-completion.IN
@@ -4,7 +4,7 @@
# installing the bash-completion package which sets this explicitly.
shopt -s extglob
-_surfraw()
+_surfraw()
{ COMPREPLY=()
local cur=${COMP_WORDS[COMP_CWORD]}
local prev=${COMP_WORDS[COMP_CWORD-1]}
diff --git a/surfraw-update-path.IN b/surfraw-update-path.IN
index 8bd30eb..e3d40c0 100755
--- a/surfraw-update-path.IN
+++ b/surfraw-update-path.IN
@@ -99,7 +99,7 @@ else
print STDERR "Shell $shell not supported, please manually add $elvidir to your \$PATH\n";
exit $ERROR;
}
-
+
exit($shells{$shell}($action,$sys));
}
@@ -161,7 +161,7 @@ sub sh_bash
}
}
-sub sh_zsh
+sub sh_zsh
{
my($action,$sys)=@_;
if($sys)
@@ -231,7 +231,7 @@ sub sh_es
sub scan
{
my($file,$action,$sys,$type)=@_;
- if(-e $file)
+ if(-e $file)
{
# file exists
my $mode="<";
@@ -351,7 +351,7 @@ sub scan
print STDERR "$me: Error closing $file: $!\n";
return $ERROR;
}
- chmod(0644,$file) or warn("$me: Could not set permissions on $file: $!\n");
+ chmod(0644,$file) or warn("$me: Could not set permissions on $file: $!\n");
print "$me: Added surfraw config code to $file\n";
return $OK;
}
@@ -401,7 +401,7 @@ surfraw-update-path - updates PATH in shell config files
=head1 SYNOPSIS
-surfraw-update-path [B<-add>] [B<-remove>] [B<-check>] [B<-sys>] [B<-all>] [B<-help>] [B<-shell>=I<SHELL>]
+surfraw-update-path [B<-add>] [B<-remove>] [B<-check>] [B<-sys>] [B<-all>] [B<-help>] [B<-shell>=I<SHELL>]
=head1 DESCRIPTION
diff --git a/surfraw.1.IN b/surfraw.1.IN
index 6eb7519..f05b890 100644
--- a/surfraw.1.IN
+++ b/surfraw.1.IN
@@ -60,7 +60,7 @@ using the "I'm feeling lucky" option:
sr google \-l debian ports
.SS Adding the elvi to your path
-
+
If you are a regular user of surfraw, you will probably get sick
of typing sr or surfraw each time. You can regain the old
behaviour of running the elvi directly by adding the elvi
diff --git a/surfraw.IN b/surfraw.IN
index a9daca1..0de3c96 100755
--- a/surfraw.IN
+++ b/surfraw.IN
@@ -472,7 +472,7 @@ w3_browse_url () {
fi
else
if ok SURFRAW_graphical_remote && test $mode = graphical; then
- if ok SURFRAW_new_window; then
+ if ok SURFRAW_new_window; then
newwin=", new-window"
else
newwin=""
diff --git a/surfraw.spec.in b/surfraw.spec.in
index 9c8e5a9..5c20107 100644
--- a/surfraw.spec.in
+++ b/surfraw.spec.in
@@ -8,15 +8,15 @@
Name: %{name}
Version: %{version}
Release: %{release}
-Vendor: Julian Assange
+Vendor: Julian Assange
Packager: Julian Assange proff-projects-surfraw at iq.org
-#URL:
+#URL:
Source: %{name}-%{version}.tar.gz
-#Patch:
+#Patch:
Group: Application/Generic
Copyright: GPL
-#Icon:
-#Requires:
+#Icon:
+#Requires:
BuildRoot: /var/tmp/%{name}-%{version}
BuildArchitectures: noarch
@@ -45,7 +45,7 @@ Summary: Shell Users Revolutionary Front Rage Against the Web
$ rhyme -method=perfect Julian
@configure_input@
%prep
-%setup -n %{name}-%{version}
+%setup -n %{name}-%{version}
#%patch -p1
%build
diff --git a/test/l1sp.test b/test/l1sp.test
index 87e3943..ba2d0f4 100644
--- a/test/l1sp.test
+++ b/test/l1sp.test
@@ -1,2 +1,2 @@
l1sp defun
-Results for
+Results for
--
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