This file is indexed.

/usr/bin/vimdot is in graphviz 2.36.0-0ubuntu3.

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
#!/bin/sh
# Written by: John Ellson <ellson@research.att.com>

error() { echo "$0: $*" >&2; exit 1; }

editor="/usr/bin/vim"

if ! test -x "$editor"; then error "the \"$editor\" editor not found or not executable"; fi

default="noname.gv"

if test -z "$1"; then
	f="$default"
	if ! test -f "$f"; then
		if ! test -w .; then error "directory `pwd` is not writable"; fi
		cat >"$f" <<EOF
digraph G {
	graph [layout=dot rankdir=LR]

// This is just an example for you to use as a template.
// Edit as you like. Whenever you save a legal graph
// the layout in the graphviz window will be updated.

	vim [href="http://www.vim.org/"]
	dot [href="http://www.graphviz.org/"]
	vimdot [href="file:///usr/bin/vimdot"]

	{vim dot} -> vimdot
}
EOF
	fi
else
	f="$1"
fi

if ! test -w "$f"; then error "$f is not writable"; fi

# dot -Txlib watches the file $f for changes using inotify()
# run it in an xterm window to handle any stderr
xterm -e dot -Txlib "$f" 2>/dev/null &
# open an editor on the file $f (could be any editor; gvim &'s itself)
exec $editor "$f"