~ubuntu-branches/ubuntu/trusty/surfraw/trusty-proposed

« back to all changes in this revision

Viewing changes to elvi/opensearch

  • Committer: Bazaar Package Importer
  • Author(s): Ian Beckwith
  • Date: 2008-03-11 14:07:35 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080311140735-8s6dh1auyn1ot7bi
Tags: 2.2.1-2
Remove my old email address from Uploaders.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
 
# $Id: opensearch,v 1.1 2006-10-05 01:25:51 ianb-guest Exp $
 
2
# $Id: opensearch,v 1.3 2008-02-14 04:17:06 ianb-guest Exp $
3
3
# elvis: opensearch     -- Search an OpenSearch-enabled website
4
 
# ianb@nessie.mcc.ac.uk 20060903
 
4
# ianb@erislabs.net 20060903
5
5
 
6
6
. surfraw || exit 1
7
7
 
10
10
def   SURFRAW_opensearch_count          $SURFRAW_results
11
11
def   SURFRAW_opensearch_startindex     ""
12
12
def   SURFRAW_opensearch_pageindex      ""
13
 
def   SURFRAW_opensearch_language       ""
 
13
def   SURFRAW_opensearch_language       "$SURFRAW_lang"
14
14
def   SURFRAW_opensearch_inputencoding  ""
15
15
def   SURFRAW_opensearch_outputencoding ""
16
16
defyn SURFRAW_opensearch_list           0
37
37
  -language=LANG                Language to display results in.
38
38
                                LANG should be a 2-letter ISO country code.
39
39
                                Examples: -l=en or -lang=de.
 
40
                                Environment: SURFRAW_opensearch_lang, SURFRAW_lang
40
41
  -inputencoding=ENC            Specify how search terms are encoded.
41
42
  -outputencoding=ENC           Request output encoded as ENC.
42
43
                                Environment: SURFRAW_opensearch_search