This file is indexed.

/usr/bin/pdfsam is in pdfsam 1.1.4-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
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/bin/sh
### ====================================================================== ###
##                                                                          ##
##  pdfsam Bootstrap Script                                                  ##
##                                                                          ##
### ====================================================================== ###

warn() {
    echo "${PROGNAME}: $*"
}

die() {
    warn $*
    exit 1
}

# use java-wrappers in Debian:
. /usr/lib/java-wrappers/java-wrappers.sh
find_java_runtime openjdk sun


DIRNAME="/usr/share/pdfsam"
PDFSAMJAR=$(echo $DIRNAME/pdfsam-*.jar)

# Setup the classpath
if [ ! -f "$PDFSAMJAR" ]; then
    die "Missing required file: $PDFSAMJAR"
fi
PDFSAM_CLASSPATH="$PDFSAMJAR"

for jar in $DIRNAME/lib/*.jar
do
  PDFSAM_CLASSPATH=$PDFSAM_CLASSPATH:$jar
done

# Setup the JVM
if [ "x$JAVA" = "x" ]; then
    if [ "x$JAVA_HOME" != "x" ]; then
	JAVA="$JAVA_HOME/bin/java"
    else
	JAVA="java"
    fi
fi

# Setup pdfsam memory properties
JAVA_OPTS="-Xmx256m"

# Display our environment
echo "========================================================================="
echo ""
echo " pdfsam"
echo ""
echo "  JAVA: $JAVA"
echo ""
echo "  JAVA_OPTS: $JAVA_OPTS"
echo ""
echo "  CLASSPATH: $PDFSAM_CLASSPATH"
echo ""
echo "========================================================================="
echo ""

# Execute the JVM in the foreground
      "$JAVA" $JAVA_OPTS \
         -classpath "$PDFSAM_CLASSPATH" \
         org.pdfsam.guiclient.GuiClient "$@"