This file is indexed.

/usr/bin/sdoc is in smartdoc 1.0-5.

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

INSTALLDIR=/usr/lib/smartdoc
test -z "$JAVA" && JAVA="java"

search_java_home () {
  java_bin="$(readlink -f $(which ${JAVA%% *}))"
  test -d "java_bin"
  case "$java_bin" in
    /usr/lib/j2se/1.?/bin/java)
      JAVA_HOME="${java_bin%/*/*}"
      ;;
    /usr/lib/jdk1.1/bin/java)
      JAVA_HOME="/usr/lib/jdk1.1"
      ;;
    *kaffe)
      JAVA_HOME="/usr/lib/kaffe"
      ;;
    *kissme)
      JAVA_HOME="/usr/bin/kissme"
      ;;
    *)
      echo "JAVA_HOME can't be determined." 1>&2
      ;;
  esac
  export JAVA_HOME
}

test -z "$JAVA_HOME" && search_java_home

$JAVA -jar $INSTALLDIR/SmartDoc.jar "$@"