diff options
Diffstat (limited to 'util.sh')
-rwxr-xr-x | util.sh | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -0,0 +1,19 @@ +#!/bin/bash +# +# Utility functions, used by demo.sh and regtest.sh. + +banner() { + echo + echo "----- $@" + echo +} + +log() { + echo 1>&2 "$@" +} + +die() { + log "$0: $@" + exit 1 +} + |