Commit 3ff69fd7 authored by Ian Beckwith's avatar Ian Beckwith Committed by Dmitry Bogatov

Import Debian changes 2.2.5-1

surfraw (2.2.5-1) unstable; urgency=low

  * New upstream version.
  * Removed Thomas Smith from Uploaders (Closes: #519378).
    Thanks for your work!.
  * Updated my email address in Uploaders.
  * Fixed VCS-Browser URL (Closes: #528299).
  * Removed DM-Upload-Allowed header.
  * Standards-Version: 3.8.1 (no changes).
parents 44b41917 1942f2ef
2009-05-13 Ian Beckwith <ianb@erislabs.net>
* Replaced scaleplus with comlaw.
* debpackages, debcontents: updated ubuntu release names.
2009-05-12 Ian Beckwith <ianb@erislabs.net>
* archpkg, bbcnews, debcontents, debwiki: fixed tests.
2009-04-05 Ian Beckwith <ianb@erislabs.net>
* Support '--' to indicate end of options, so, for instance,
"sr google -g -- foo -bar" works. Thanks to Andy Valencia.
2009-03-09 Ian Beckwith <ianb@erislabs.net>
* Bump version to 2.2.5.
* rfc: Default to HTML for RFCs and BCPs.
Thanks to Micah Anderson.
* rfc.test: Test tools.ietf.org.
2009-02-28 Ian Beckwith <ianb@erislabs.net>
* Changed cite to use citeseerx.ist.psu.edu, the old
......
# Makefile.in generated by automake 1.10.1 from Makefile.am.
# Makefile.in generated by automake 1.10.2 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
......@@ -14,7 +14,7 @@
@SET_MAKE@
# $Id: Makefile.in,v 1.42 2009-02-27 03:53:23 ianb-guest Exp $
# $Id: Makefile.in,v 1.46 2009-05-13 01:44:27 ianb-guest Exp $
VPATH = @srcdir@
......@@ -163,10 +163,11 @@ sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
# $Id: Makefile.in,v 1.42 2009-02-27 03:53:23 ianb-guest Exp $
# $Id: Makefile.in,v 1.46 2009-05-13 01:44:27 ianb-guest Exp $
SUBDIRS = elvi test
bin_SCRIPTS = surfraw surfraw-update-path
@OPENSEARCH_TRUE@dist_bin_SCRIPTS = opensearch-discover opensearch-genquery
......@@ -272,8 +273,8 @@ install-man1: $(man1_MANS) $(man_MANS)
esac; \
done; \
for i in $$list; do \
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \
if test -f $$i; then file=$$i; \
else file=$(srcdir)/$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
case "$$ext" in \
1*) ;; \
......@@ -399,7 +400,7 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
mkid -fID $$unique
tags: TAGS
......
......@@ -15,6 +15,14 @@
N E W S
Wed May 13 02:30:21 BST 2009 - surfraw 2.2.5
* Replaced scaleplus elvi with comlaw.
* rfc: use HTML for RFCs and BCPs.
* Support '--' to indicate end of options, so, for instance,
"sr google -g -- foo -bar" works.
* debpackages, debcontents: update ubuntu release names.
Sun Mar 1 02:12:14 GMT 2009 - surfraw 2.2.4
* New elvi:
......@@ -296,4 +304,4 @@ Sun Jul 30 17:51:50 EST 2000 - Surfaw 0.5.4
A Lazy sunday. A tired, but happy mood. The afternoon drowses by and
we have the initial version.
$Id: NEWS,v 1.24 2009-03-01 02:13:16 ianb-guest Exp $
$Id: NEWS,v 1.27 2009-05-13 01:38:46 ianb-guest Exp $
......@@ -135,9 +135,10 @@ austlii -- Search Australian Law docs (www.austlii.edu.au)
bbcnews -- Search BBC News (news.bbc.co.uk)
cddb -- Search for cd track listings in CDDB (www.gracenote.com)
cia -- Search CIA documents at www.cia.gov
cite -- Search computer science papers (www.researchindex.com)
cite -- Search computer science papers (citeseerx.ist.psu.edu)
cnn -- Search on CNN (cnn.com)
codesearch -- Search source code using Google Code Search (www.google.com/codesearch)
comlaw -- Search Australian Law using Comlaw (www.comlaw.gov.au)
ctan -- Search the Comprehensive TeX Archive Network (ctan.org)
currency -- Convert currencies with the Universal Currency Converter (www.xe.net/ucc)
cve -- Search for CAN assignments in CVE
......@@ -185,7 +186,6 @@ pubmed -- Search medical/molbio databases (www.ncbi.nlm.nih.gov)
rae -- Busca en el diccionario de la Real Academia de la Lengua Española (Spanish Dictionary)
rfc -- Search RFCs (internet standards documents)
rhyme -- Search for rhymes et al using Lycos Rhyme (rhyme.lycos.com)
scaleplus -- Search Australian Law using ScalePlus (scaleplus.law.gov.au)
scholar -- Search Google Scholar (scholar.google.com)
scicom -- Search Scientific Commons
scpan -- Search the Comprehensive Perl Archive Network (search.cpan.org)
......@@ -296,5 +296,5 @@ Updated by Ian Beckwith
See NEWS, and ChangeLog for a summary of changes.
_________________________________________________________________
$Id: README,v 1.30 2009-02-27 03:53:23 ianb-guest Exp $
$Id: README,v 1.31 2009-05-13 01:07:28 ianb-guest Exp $
_________________________________________________________________
# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
# generated automatically by aclocal 1.10.2 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
# 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
......@@ -13,13 +13,13 @@
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(AC_AUTOCONF_VERSION, [2.61],,
[m4_warning([this file was generated for autoconf 2.61.
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
[m4_warning([this file was generated for autoconf 2.63.
You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.])])
# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
......@@ -34,7 +34,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],
[am__api_version='1.10'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
m4_if([$1], [1.10.1], [],
m4_if([$1], [1.10.2], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
......@@ -48,12 +48,12 @@ m4_define([_AM_AUTOCONF_VERSION], [])
# AM_SET_CURRENT_AUTOMAKE_VERSION
# -------------------------------
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
[AM_AUTOMAKE_VERSION([1.10.1])dnl
[AM_AUTOMAKE_VERSION([1.10.2])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
......@@ -368,13 +368,13 @@ esac
# Helper functions for option handling. -*- Autoconf -*-
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 3
# serial 4
# _AM_MANGLE_OPTION(NAME)
# -----------------------
......@@ -391,7 +391,7 @@ AC_DEFUN([_AM_SET_OPTION],
# ----------------------------------
# OPTIONS is a space-separated list of Automake options.
AC_DEFUN([_AM_SET_OPTIONS],
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
# -------------------------------------------
......
This diff is collapsed.
dnl $Id: configure.in,v 1.17 2008-10-23 04:05:18 ianb-guest Exp $
dnl $Id: configure.in,v 1.18 2009-03-09 02:30:36 ianb-guest Exp $
dnl Process this file with autoconf to produce a configure script.
dnl This is the only place where the package version appears
dnl (apart from debian/changelog)
AC_INIT(surfraw, 2.2.4)
dnl (apart from changelogs & NEWS)
AC_INIT(surfraw, 2.2.5)
AC_PREREQ(2.54)
AC_CONFIG_SRCDIR([surfraw.IN])
......
surfraw (2.2.5-1) unstable; urgency=low
* New upstream version.
* Removed Thomas Smith from Uploaders (Closes: #519378).
Thanks for your work!.
* Updated my email address in Uploaders.
* Fixed VCS-Browser URL (Closes: #528299).
* Removed DM-Upload-Allowed header.
* Standards-Version: 3.8.1 (no changes).
-- Ian Beckwith <ianb@debian.org> Wed, 13 May 2009 02:09:49 +0100
surfraw (2.2.4-1) unstable; urgency=low
* New upstream version.
......
......@@ -2,13 +2,12 @@ Source: surfraw
Section: web
Priority: optional
Maintainer: Debian surfraw maintainers <surfraw-devel@lists.alioth.debian.org>
Uploaders: Moritz Muehlenhoff <jmm@debian.org>, Thomas Smith <tgs@debian.org>, Christian Surchi <csurchi@debian.org>, Ian Beckwith <ianb@erislabs.net>
Standards-Version: 3.8.0
Uploaders: Moritz Muehlenhoff <jmm@debian.org>, Christian Surchi <csurchi@debian.org>, Ian Beckwith <ianb@debian.org>
Standards-Version: 3.8.1
Build-Depends: debhelper (>= 6)
Vcs-Cvs: :pserver:anonymous@cvs.alioth.debian.org:/cvsroot/surfraw
Vcs-Browser: http://alioth.debian.org/plugins/scmcvs/cvsweb.php/surfraw/?cvsroot=surfraw
Vcs-Browser: http://alioth.debian.org/scm/viewvc.php/?root=surfraw
Homepage: http://surfraw.alioth.debian.org
XS-DM-Upload-Allowed: yes
Package: surfraw
Architecture: all
......
# $Id: Makefile.am,v 1.34 2009-02-27 03:53:23 ianb-guest Exp $
# $Id: Makefile.am,v 1.35 2009-05-13 00:51:05 ianb-guest Exp $
elvidir=$(ELVIDIR)
dist_elvi_SCRIPTS = \
......@@ -17,6 +17,7 @@ dist_elvi_SCRIPTS = \
cite \
cnn \
codesearch \
comlaw \
ctan \
currency \
cve \
......@@ -65,7 +66,6 @@ dist_elvi_SCRIPTS = \
rae \
rfc \
rhyme \
scaleplus \
scholar \
scicom \
slashdot \
......
# Makefile.in generated by automake 1.10.1 from Makefile.am.
# Makefile.in generated by automake 1.10.2 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
......@@ -41,14 +41,14 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
am__dist_elvi_SCRIPTS_DIST = W alioth altavista amazon archpkg arxiv \
ask aur austlii bbcnews cddb cia cite cnn codesearch ctan \
currency cve debbugs debcontents deblists deblogs debpackages \
debpts debsec debwiki deja discogs dmoz ebay etym excite fast \
foldoc filesearching freebsd freedb freshmeat fsfdir genpkg \
genportage gutenberg ixquick google happypenguin imdb javasun \
scpan slinuxdoc lastfm leodict lsm musicbrainz netbsd ntrs \
openbsd piratebay pgpkeys port pubmed rae rfc rhyme scaleplus \
scholar scicom slashdot sourceforge springer stockquote \
ask aur austlii bbcnews cddb cia cite cnn codesearch comlaw \
ctan currency cve debbugs debcontents deblists deblogs \
debpackages debpts debsec debwiki deja discogs dmoz ebay etym \
excite fast foldoc filesearching freebsd freedb freshmeat \
fsfdir genpkg genportage gutenberg ixquick google happypenguin \
imdb javasun scpan slinuxdoc lastfm leodict lsm musicbrainz \
netbsd ntrs openbsd piratebay pgpkeys port pubmed rae rfc \
rhyme scholar scicom slashdot sourceforge springer stockquote \
sunonesearch thesaurus translate urban w3css w3html w3link \
w3rdf wayback webster wetandwild wikipedia woffle yahoo yubnub \
opensearch
......@@ -130,22 +130,23 @@ sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
# $Id: Makefile.in,v 1.43 2009-02-27 03:53:23 ianb-guest Exp $
# $Id: Makefile.in,v 1.47 2009-05-13 01:44:27 ianb-guest Exp $
elvidir = $(ELVIDIR)
dist_elvi_SCRIPTS = W alioth altavista amazon archpkg arxiv ask aur \
austlii bbcnews cddb cia cite cnn codesearch ctan currency cve \
debbugs debcontents deblists deblogs debpackages debpts debsec \
debwiki deja discogs dmoz ebay etym excite fast foldoc \
filesearching freebsd freedb freshmeat fsfdir genpkg \
austlii bbcnews cddb cia cite cnn codesearch comlaw ctan \
currency cve debbugs debcontents deblists deblogs debpackages \
debpts debsec debwiki deja discogs dmoz ebay etym excite fast \
foldoc filesearching freebsd freedb freshmeat fsfdir genpkg \
genportage gutenberg ixquick google happypenguin imdb javasun \
scpan slinuxdoc lastfm leodict lsm musicbrainz netbsd ntrs \
openbsd piratebay pgpkeys port pubmed rae rfc rhyme scaleplus \
scholar scicom slashdot sourceforge springer stockquote \
sunonesearch thesaurus translate urban w3css w3html w3link \
w3rdf wayback webster wetandwild wikipedia woffle yahoo yubnub \
openbsd piratebay pgpkeys port pubmed rae rfc rhyme scholar \
scicom slashdot sourceforge springer stockquote sunonesearch \
thesaurus translate urban w3css w3html w3link w3rdf wayback \
webster wetandwild wikipedia woffle yahoo yubnub \
$(am__append_1)
all: all-am
......@@ -154,8 +155,8 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
&& exit 0; \
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
&& { if test -f $@; then exit 0; else break; fi; }; \
exit 1;; \
esac; \
done; \
......
#!/bin/sh
# $Id: comlaw,v 1.2 2009-05-13 01:07:28 ianb-guest Exp $
# elvis: comlaw -- Search Australian Law using Comlaw (www.comlaw.gov.au)
. surfraw || exit 1
w3_usage_hook () {
cat <<EOF
Usage: $w3_argv0 [options] [search words]...
Description:
Surfraw search Australian Law using Comlaw (www.comlaw.gov.au)
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.comlaw.gov.au/"
else
escaped_args=`w3_url_of_arg $w3_args`
w3_browse_url "http://agsearch.ag.gov.au/clsearch/home?query=${escaped_args}"
fi
#!/bin/sh
# $Id: debcontents,v 1.10 2008-07-03 00:22:43 ianb-guest Exp $
# $Id: debcontents,v 1.11 2009-05-13 01:22:54 ianb-guest Exp $
# elvis: debcontents -- Search contents of debian/ubuntu packages (packages.debian.org/packages.ubuntu.com)
. surfraw || exit 1
......@@ -54,20 +54,23 @@ Local options:
slink | 2.1
potato | 2.2
woody | 3.0
sarge | 3.1
Ubuntu (-u):
dapper | Dapper
dapper-updates | Dapper Updates
dapper-backports | Dapper Backports
feisty | Feisty
feisty-updates | Feisty Updates
feisty-backports | Feisty Backports
gutsy | Gutsy
gutsy-updates | Gutsy Updates
gutsy-backports | Gutsy Backports
hardy | Hardy
hardy-updates | Hardy Updates
hardy-backports | Hardy Backports
intrepid | Intrepid
intrepid-updates | Intrepid Updates
intrepid-backports| Intrepid Backports
jaunty | Jaunty
jaunty-updates | Jaunty Updates
jaunty-backports | Jaunty Backports
karmic | Karmic
karmic-updates | Karmic Updates
karmic-backports | Karmic Backports
Default: $SURFRAW_debcontents_distro
Environment: SURFRAW_debcontents_distro
EOF
......@@ -114,7 +117,7 @@ else
then
if [ "$SURFRAW_debcontents_distro" = "stable" ]
then
SURFRAW_debcontents_distro=gutsy
SURFRAW_debcontents_distro=jaunty
fi
fi
url="$searchurl?keywords=${escaped_args}&searchon=contents"
......
#!/bin/sh
# $Id: debpackages,v 1.7 2008-07-03 00:22:43 ianb-guest Exp $
# $Id: debpackages,v 1.8 2009-05-13 01:27:18 ianb-guest Exp $
# elvis: debpackages -- Search debian/ubuntu packages (packages.debian.org/packages.ubuntu.com)
. surfraw || exit 1
......@@ -28,10 +28,10 @@ Local options:
non-free | packages not meeting DFSG
Ubuntu (-u):
any | all releases
main |
restricted |
universe |
multiverse |
main |
restricted |
universe |
multiverse |
Default: $SURFRAW_debian_release
Environment: SURFRAW_debian_release
......@@ -49,25 +49,24 @@ Local options:
slink | 2.1
potato | 2.2
woody | 3.0
sarge | 3.1
Ubuntu (-u):
any | All distributions
dapper |
dapper-updates |
dapper-backports |
edgy |
edgy-updates |
edgy-backports |
feisty |
feisty-updates |
feisty-backports |
gutsy |
gutsy-updates |
gutsy-backports |
hardy |
hardy-updates |
hardy-backports |
intrepid
dapper |
dapper-updates |
dapper-backports |
hardy |
hardy-updates |
hardy-backports |
intrepid |
intrepid-updates |
intrepid-backports|
jaunty |
jaunty-updates |
jaunty-backports |
karmic |
karmic-updates |
karmic-backports
Default: $SURFRAW_debian_distro
Environment: SURFRAW_debian_distro
-search= Field to search
......
#!/bin/sh
# $Id: rfc,v 1.3 2008-02-14 04:17:06 ianb-guest Exp $
# $Id: rfc,v 1.4 2009-03-09 02:22:18 ianb-guest Exp $
# elvis: rfc -- Search RFCs (internet standards documents)
# ianb@erislabs.net 20031220
. surfraw || exit 1
......@@ -114,7 +114,9 @@ else
if ifyes SURFRAW_rfc_ftp
then
url="ftp://ftp.rfc-editor.org/in-notes${subdir}/${fileprefix}${escaped_args}.txt"
else
elif [ $fileprefix = rfc ] || [ $fileprefix = bcp ]; then
url="http://tools.ietf.org/html/${fileprefix}${escaped_args}"
else
url="http://www.rfc-editor.org/rfc${subdir}/${fileprefix}${escaped_args}.txt"
fi
else # godless PDFs
......
#!/bin/sh
# $Id: scaleplus,v 1.3 2004-02-06 00:31:05 ianb-guest Exp $
# elvis: scaleplus -- Search Australian Law using ScalePlus (scaleplus.law.gov.au)
. surfraw || exit 1
w3_config_hook () {
def SURFRAW_scaleplus_results $SURFRAW_results
def SURFRAW_scaleplus_search search
}
w3_usage_hook () {
cat <<EOF
Usage: $w3_argv0 [options] [search words]...
Description:
Surfraw search Australian Law using ScalePlus (scaleplus.law.gov.au)
Local options:
-results=NUM Number of search results returned
Default: $SURFRAW_scaleplus_results
Environment: SURFRAW_scaleplus_results
EOF
w3_global_usage
}
w3_parse_option_hook () {
opt="$1"
optarg="$2"
case "$opt" in
-results=*) setopt SURFRAW_scaleplus_results $optarg ;;
*) return 1 ;;
esac
return 0
}
w3_config
# disable requoting, doesn't work with this elvi.
SURFRAW_quote_ifs=0
w3_parse_args "$@"
# w3_args now contains a list of arguments
if test -z "$w3_args"; then
w3_browse_url "http://scaleplus.law.gov.au/"
else
escaped_args=`w3_url_of_arg $w3_args`
w3_browse_url "http://scaleplus.law.gov.au/cgi-bin/topicSrch.pl?Action=Search&SearchPage=%2FWelcome97.html&ResultTemplate=scaleresults.hts&ViewTemplate=scaleview.hts&ResultMaxDocs=${SURFRAW_scaleplus_results}&querytext=${escaped_args}&category=CL&category=CC&category=SL&category=SC&category=OT&category=HD"
fi
......@@ -13,6 +13,7 @@ elvi.1sr.gz @mandir@/man1/cite.1sr.gz
elvi.1sr.gz @mandir@/man1/cia.1sr.gz
elvi.1sr.gz @mandir@/man1/cnn.1sr.gz
elvi.1sr.gz @mandir@/man1/codesearch.1sr.gz
elvi.1sr.gz @mandir@/man1/comlaw.1sr.gz
elvi.1sr.gz @mandir@/man1/ctan.1sr.gz
elvi.1sr.gz @mandir@/man1/currency.1sr.gz
elvi.1sr.gz @mandir@/man1/cve.1sr.gz
......@@ -59,7 +60,6 @@ elvi.1sr.gz @mandir@/man1/pubmed.1sr.gz
elvi.1sr.gz @mandir@/man1/rae.1sr.gz
elvi.1sr.gz @mandir@/man1/rfc.1sr.gz
elvi.1sr.gz @mandir@/man1/rhyme.1sr.gz
elvi.1sr.gz @mandir@/man1/scaleplus.1sr.gz
elvi.1sr.gz @mandir@/man1/scholar.1sr.gz
elvi.1sr.gz @mandir@/man1/scicom.1sr.gz
elvi.1sr.gz @mandir@/man1/scpan.1sr.gz
......
#!/bin/sh
# $Id: surfraw.IN,v 1.16 2009-03-01 02:31:07 ianb-guest Exp $
# $Id: surfraw.IN,v 1.17 2009-04-05 19:57:29 ianb-guest Exp $
# Surfraw -- Shell Users' Revolutionary Front Against the World wide web
#
# Copyright (c) 2003-2009 The Surfraw-Devel Team
......@@ -96,7 +96,7 @@ setoptyn () {
quote_ifs () {
if [ -z "$1" ]; then return; fi
perl -e '$ifs=$ENV{IFS} || " "; $arg=shift;if($arg =~/[$ifs]/) { $arg="\"$arg\""; } print "$arg\n"; ' "$1"
perl -e '$ifs=$ENV{IFS} || " "; $arg=shift;if($arg =~/[$ifs]/) { $arg="\"$arg\""; } print "$arg\n"; ' -- "$1"
}
bookmark_file_search () {
......@@ -219,6 +219,7 @@ Global options:
Default: $SURFRAW_quote_args
Environment: SURFRAW_quote_args
-version Display Surfraw version ($surfraw_version)
-- End of options
Copyright:
Copyright (c) 2003-2009 The Surfraw-Devel Team
<surfraw-devel@lists.alioth.debian.org>
......@@ -247,7 +248,6 @@ w3_parse_option () {
-*=*) optarg=`echo "$opt" | sed 's/[-_a-zA-Z0-9]*=//'`
esac
w3_parse_option_hook "$opt" "$optarg" && return 0
case "$opt" in
-browser=*) setopt SURFRAW_browser $optarg ;;
-elvi) sed -n 's/^.*elvis: \(.*\)$/\1/p' $elvidir/*; exit 0 ;;
......@@ -261,8 +261,8 @@ w3_parse_option () {
-t | -text) unset DISPLAY
setoptyn SURFRAW_graphical no ;;
-version) echo $surfraw_version; exit 0 ;;
-p | -print) setoptyn SURFRAW_print yes ;;
--) return 1 ;;
-p | -print) setoptyn SURFRAW_print yes ;;
--) setoptyn SURFRAW_end_of_args yes ;;
-*) w3_bad_option "$opt" ;;
*) return 1 ;;
esac
......@@ -274,18 +274,24 @@ w3_parse_args () {
def SURFRAW_browser none
def SURFRAW_browser_args none
defyn SURFRAW_quote_ifs yes
defyn SURFRAW_end_of_args no
do_help=0
mode=unknown
for arg in "$@"; do
isarg=1
if ifno SURFRAW_end_of_args
then
w3_parse_option "$arg"
if [ $? -eq 1 ]
then
if ok SURFRAW_quote_ifs
then
arg=`quote_ifs "$arg"`
fi
w3_args="$w3_args $arg"
fi
isarg=$?
fi
if [ $isarg -eq 1 ]
then
if ok SURFRAW_quote_ifs
then
arg=`quote_ifs "$arg"`
fi
w3_args="$w3_args $arg"
fi
done
if test $SURFRAW_browser = none; then
if ok SURFRAW_graphical && test -n "$DISPLAY"; then
......
EXTRA_DIST = runtests elviwithouttests README COOKIES W.test \
alioth.test altavista.test amazon.test archpkg.test arxiv.test \
ask.test aur.test austlii.test bbcnews.test cddb.test cia.test \
cite.test cnn.test codesearch.test ctan.test currency.test \
cve.test debbugs.test debcontents.test deblists.test \
deblogs.test debpackages.test debpts.test debsec.test \
debwiki.test deja.test discogs.test dmoz.test ebay.test \
etym.test excite.test fast.test filesearching.test foldoc.test \
freebsd.test freedb.test freshmeat.test fsfdir.test \
genpkg.test genportage.test google.test gutenberg.test \
happypenguin.test imdb.test ixquick.test javasun.test \
lastfm.test leodict.test lsm.test musicbrainz.test netbsd.test \
ntrs.test openbsd.test opensearch.test piratebay.test \
port.test pgpkeys.test pubmed.test rae.test rfc.test \
rhyme.test scaleplus.test scholar.test scicom.test scpan.test \
slashdot.test slinuxdoc.test sourceforge.test springer.test \
stockquote.test sunonesearch.test thesaurus.test \
translate.test urban.test w3css.test w3html.test w3link.test \
w3rdf.test wayback.test webster.test wetandwild.test \
wikipedia.test woffle.test yahoo.test yubnub.test
cite.test cnn.test codesearch.test comlaw.test ctan.test \
currency.test cve.test debbugs.test debcontents.test \
deblists.test deblogs.test debpackages.test debpts.test \
debsec.test debwiki.test deja.test discogs.test dmoz.test \
ebay.test etym.test excite.test fast.test filesearching.test \
foldoc.test freebsd.test freedb.test freshmeat.test \
fsfdir.test genpkg.test genportage.test google.test \
gutenberg.test happypenguin.test imdb.test ixquick.test \
javasun.test lastfm.test leodict.test lsm.test \
musicbrainz.test netbsd.test ntrs.test openbsd.test \
opensearch.test piratebay.test port.test pgpkeys.test \
pubmed.test rae.test rfc.test rhyme.test scholar.test \
scicom.test scpan.test slashdot.test slinuxdoc.test \
sourceforge.test springer.test stockquote.test \
sunonesearch.test thesaurus.test translate.test urban.test \
w3css.test w3html.test w3link.test w3rdf.test wayback.test \
webster.test wetandwild.test wikipedia.test woffle.test \
yahoo.test yubnub.test
test:
./runtests
......
# Makefile.in generated by automake 1.10.1 from Makefile.am.
# Makefile.in generated by automake 1.10.2 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
......@@ -112,28 +112,30 @@ sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
EXTRA_DIST = runtests elviwithouttests README COOKIES W.test \
alioth.test altavista.test amazon.test archpkg.test arxiv.test \
ask.test aur.test austlii.test bbcnews.test cddb.test cia.test \
cite.test cnn.test codesearch.test ctan.test currency.test \
cve.test debbugs.test debcontents.test deblists.test \
deblogs.test debpackages.test debpts.test debsec.test \
debwiki.test deja.test discogs.test dmoz.test ebay.test \
etym.test excite.test fast.test filesearching.test foldoc.test \
freebsd.test freedb.test freshmeat.test fsfdir.test \
genpkg.test genportage.test google.test gutenberg.test \
happypenguin.test imdb.test ixquick.test javasun.test \
lastfm.test leodict.test lsm.test musicbrainz.test netbsd.test \
ntrs.test openbsd.test opensearch.test piratebay.test \
port.test pgpkeys.test pubmed.test rae.test rfc.test \
rhyme.test scaleplus.test scholar.test scicom.test scpan.test \
slashdot.test slinuxdoc.test sourceforge.test springer.test \
stockquote.test sunonesearch.test thesaurus.test \
translate.test urban.test w3css.test w3html.test w3link.test \
w3rdf.test wayback.test webster.test wetandwild.test \
wikipedia.test woffle.test yahoo.test yubnub.test
cite.test cnn.test codesearch.test comlaw.test ctan.test \
currency.test cve.test debbugs.test debcontents.test \
deblists.test deblogs.test debpackages.test debpts.test \
debsec.test debwiki.test deja.test discogs.test dmoz.test \
ebay.test etym.test excite.test fast.test filesearching.test \
foldoc.test freebsd.test freedb.test freshmeat.test \
fsfdir.test genpkg.test genportage.test google.test \
gutenberg.test happypenguin.test imdb.test ixquick.test \
javasun.test lastfm.test leodict.test lsm.test \
musicbrainz.test netbsd.test ntrs.test openbsd.test \
opensearch.test piratebay.test port.test pgpkeys.test \
pubmed.test rae.test rfc.test rhyme.test scholar.test \
scicom.test scpan.test slashdot.test slinuxdoc.test \
sourceforge.test springer.test stockquote.test \
sunonesearch.test thesaurus.test translate.test urban.test \
w3css.test w3html.test w3link.test w3rdf.test wayback.test \
webster.test wetandwild.test wikipedia.test woffle.test \
yahoo.test yubnub.test
all: all-am
......@@ -142,8 +144,8 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
&& exit 0; \
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
&& { if test -f $@; then exit 0; else break; fi; }; \
exit 1;; \
esac; \
done; \
......
archpkg perl-io-compress
perl-io-compress-zlib
archpkg perl-yaml
perl-yaml-syck
bbcnews minister
Your .*\d+.* search results for
<span class="number active">1</span>
comlaw nuclear
Nuclear Science
debwiki LowThresholdNMU
LowThresholdNMU.* \. \. \. \d+ match
Results <strong>1 - 25</strong> of
debwiki -w MaintainerScripts
English/MaintainerScripts.* \. \. \.
English/MaintainerScripts
rfc 2822
Internet Message Format
rfc -search=std 11
ARPA INTERNET TEXT MESSAGES
scaleplus tort
Your search matched <B>[1-9]\d*</B> of
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment