blob: ded09f253f4957a3f5db8e79ab63258cb3c49789 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
# Sanity check, check that the non-builtin echo exists and is in PATH
if ! which echo > /dev/null 2>&1; then
echo "$0: This script needs the non-builtin echo, which is not in your PATH." >&2
echo "$0: Fix PATH or install before running this script!" >&2
exit 1
fi
ECHO=$(which echo)
print() {
${ECHO} "$@"
}
error() {
${ECHO} "$@" >&2
}
|