This file is indexed.

/usr/lib/surfraw/ctan is in surfraw 2.2.8-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
#!/bin/sh
# $Id$
# elvis: ctan		-- Search the Comprehensive TeX Archive Network (ctan.org)
. surfraw || exit 1

w3_config_hook () {
defyn SURFRAW_ctan_name  0
defyn SURFRAW_ctan_desc  0
defyn SURFRAW_ctan_id    0
}

w3_usage_hook () {
    cat <<EOF
Usage: $w3_argv0 [options] [search words]...
Description:
  Search the Comprehensive TeX Archive Network (ctan.org)
Local options:
  -name                         Search by filename
  -desc                         Search descriptions (default)
  -id                           Search package identifiers
Options can be combined to search multiple types at once.
EOF
    w3_global_usage
}

w3_parse_option_hook () {
    opt="$1"
    optarg="$2"
    case "$opt" in
    -n*)    setoptyn SURFRAW_ctan_name   1       ;;
    -d*)    setoptyn SURFRAW_ctan_desc   1       ;;
    -i*)    setoptyn SURFRAW_ctan_id     1       ;;
	*) return 1 ;;
    esac
    return 0
}

w3_config
w3_parse_args "$@"
# w3_args now contains a list of arguments
if test -z "$w3_args"; then
    w3_browse_url "http://www.ctan.org/"
else
    escaped_args=`w3_url_of_arg $w3_args`
	if ifno SURFRAW_ctan_name &&
	   ifno SURFRAW_ctan_desc  &&
	   ifno SURFRAW_ctan_id
	then
		SURFRAW_ctan_desc=1
	fi

	url="http://www.ctan.org/search/?search=${escaped_args}"
	if ifyes SURFRAW_ctan_name
	then
		url="${url}&search_type=filename"
	fi
	if ifyes SURFRAW_ctan_desc
	then
		url="${url}&search_type=description"
	fi
	if ifyes SURFRAW_ctan_id
	then
		url="${url}&search_type=id"
	fi

	w3_browse_url "$url"
fi