This file is indexed.

/usr/lib/games/nethack/nethack-x11.sh is in nethack-x11 3.4.3-15.

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

set -e

HACKSTYLE=x11

if [ -z "$NETHACKOPTIONS" ]; then
  if [ -e $HOME/.nethackrc.$HACKSTYLE ]; then
    NETHACKOPTIONS=$HOME/.nethackrc.$HACKSTYLE
    export NETHACKOPTIONS
  elif [ -e $HOME/.nethackrc ]; then
    NETHACKOPTIONS=$HOME/.nethackrc
    export NETHACKOPTIONS
  else
    NETHACKOPTIONS=/etc/nethack/nethackrc.$HACKSTYLE
    export NETHACKOPTIONS
  fi
fi

HACKDIR=/usr/lib/games/nethack
export HACKDIR
HACK=$HACKDIR/nethack-$HACKSTYLE

cd $HACKDIR

export OVERRIDEWIN=$HACKSTYLE

exec $HACK "$@" $ARGS