This file is indexed.

/usr/share/blends/blend-utils is in blends-common 0.6.92.2.

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
# For error codes check in /usr/include/sysexits.h

toLower() {
	echo $@ | tr "[A-Z]" "[a-z]"
	return 0
}

# log (typically echos on stdout)
blendLog() {
	echo $@
	return 0
}

# log error (typically echos on stderr)
blendErr() {
	RET=$1
	shift
	echo "err ${RET}: $@" > /dev/stderr
	return 0
}

# log on stderr for debug outputs
blendDebug() {
	test -n "${DEBUG}" && echo "debug: $@" > /dev/stderr
	return 0
}



# log error and return a fail code $1
blendFail() {
	RET=$1
	shift
	echo "err ${RET}: $@" > /dev/stderr
	exit ${RET}
}