le/lib/util

18 lines
164 B
Plaintext
Raw Permalink Normal View History

#!/syntax/bash
err() {
printf '%s\n' "$*" >&2
}
msg() {
printf '%s\n' "$*"
}
set_default() {
declare -n _vref=$1
if ! [[ "$_vref" ]]; then
_vref=$2
fi
}