This file is indexed.

/usr/bin/x-grass is in grass-core 6.4.4-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
#!/bin/sh
#
# This is a wrapper to call GRASS without a running (x)terminal.
#

if [ -n "$DISPLAY" ]; then
	if [ -n "$(tty)" ]; then
		exec /usr/bin/grass "$@"
	else
		exec x-terminal-emulator -e /bin/sh -c "/usr/bin/grass $@" 
	fi
else
	if [ -n "$(tty)" ]; then
		exec /usr/bin/grass "$@"
	fi
fi

# Cannot run without a terminal
exit 255