This file is indexed.

/usr/share/doc/xmlstarlet/examples/xmlstarlet.msys is in xmlstarlet 1.6.1-2.

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
#!/bin/bash

xml="$1"
shift

# MSYS does unix -> windows path conversion if there is a leading /
# but not when the argument contains a semicolon, eg: /x ->
# C:\Mingw\msys\1.0\x so we double all leading /'s to avoid this

nargs=$#
args=()
for ((i = 0; i < nargs; i++)) ; do
    if [[ "$1" = /* ]] && [[ "$1" != *\;* ]] ; then
        args[$i]="/$1"
    else
        args[$i]="$1"
    fi
    shift
done

exec "$xml" "${args[@]}"