This file is indexed.

/usr/lib/amanda/amanda-sh-lib.sh is in amanda-common 1:3.3.9-5.

This file is owned by root:root, with mode 0o644.

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
# Shell library containing functions and definitions common to amanda's
# shell scripts and wrappers.

# Include this file as follows:
#   prefix="/usr"
#   exec_prefix="${prefix}"
#   amlibexecdir="/usr/lib/amanda"
#   . "${amlibexecdir}/amanda-sh-lib.sh"

####
# Configure variables

GREP="/bin/grep"
EGREP="/bin/grep -E"
GETTEXT="/usr/bin/gettext"
GNUPLOT="/usr/bin/gnuplot"
GNUTAR="/bin/tar"
STAR="/usr/bin/star"
SAMBA_CLIENT="/usr/bin/smbclient"
GZIP=""
SORT="/usr/bin/sort"
PERL="/usr/bin/perl"
AWK="mawk"

####
# Set up PATH for finding amanda executables

PATH="/usr/sbin:/usr/lib/amanda:$PATH"

####
# Gettext

# use as follows:
#   echo `_ "%s: '%s' is not executable" "$myname" "$binpath"`
# NOTE: use a text editor with shell syntax hilighting to avoid
# quoting errors!

if test -n "$GETTEXT"; then
    _() {
	    fmt=`$GETTEXT -d amanda "$1"`
	    shift
	    printf "$fmt" "$@"
    }
else
    _() {
	printf "$@"
    }
fi