1 # This file is sourced by init.sh, *before* its initialization.
3 # This goes hand in hand with the "exec 9>&2;" in Makefile.am's
4 # TESTS_ENVIRONMENT definition.
7 # Like printf with a single argument, but that argument must be a
8 # sequence of four-byte strings \xHH where each H is a hexadecimal byte.
11 local octal_fmt=$(printf '\\%o' \
12 $(printf '%s\n' "$1" \
13 | sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'))