This file is indexed.

/usr/lib/surfraw/debwiki is in surfraw 2.2.9-1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#!/bin/sh
# $Id$
# elvis: debwiki		-- Search the Debian Wikis (wiki.debian.org & women.debian.org/wiki)
# by Ian Beckwith <ianb@erislabs.net>
. surfraw || exit 1

w3_config_hook () {
defyn SURFRAW_debwiki_title   0
defyn SURFRAW_debwiki_context 1
defyn SURFRAW_debwiki_case    0
defyn SURFRAW_debwiki_direct  0
}

w3_usage_hook () {
    cat <<EOF
Usage: $w3_argv0 [options] [search words]...
Description:
  Surfraw search the Debian Wiki (wiki.debian.org)
Local options:
  -c                            Make search case-sensitive.
  -n                            Don't show context of search result.
  -t                            Limit search to title.
  -d                            Go direct to page (or create it).
EOF
    w3_global_usage
}

w3_parse_option_hook () {
    opt="$1"
    optarg="$2"
    case "$opt" in
    -c)        setoptyn SURFRAW_debwiki_case    1       ;;
    -n)        setoptyn SURFRAW_debwiki_context 0       ;;
    -d)        setoptyn SURFRAW_debwiki_direct  1       ;;
    -t)        setoptyn SURFRAW_debwiki_title   1       ;;
     *) return 1 ;;
    esac
    return 0
}

w3_config
w3_parse_args "$@"
# w3_args now contains a list of arguments

url="http://wiki.debian.org"

if test -z "$w3_args"
then
    w3_browse_url "$url"
else
    escaped_args=`w3_url_of_arg $w3_args`
    url="${url}/FindPage?"
    if ifyes SURFRAW_debwiki_direct
    then
	url="${url}goto=${escaped_args}&submit=Go+To+Page"
    elif ifyes SURFRAW_debwiki_title
    then
	url="${url}action=fullsearch&titlesearch=1&value=${escaped_args}&submit=Search+Titles"
    else
	url="${url}action=fullsearch&titlesearch=0&value=${escaped_args}&submit=Search+Text"
	if ifyes SURFRAW_debwiki_context
	then
	    url="${url}&context=160"
	fi
	if ifyes SURFRAW_debwiki_case
	then
	    url="${url}&case=1"
	fi
    fi
    w3_browse_url "$url"
fi