diff options
Diffstat (limited to 'src/util.sh')
| -rw-r--r-- | src/util.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/util.sh b/src/util.sh new file mode 100644 index 0000000..f190a82 --- /dev/null +++ b/src/util.sh @@ -0,0 +1,15 @@ + +Error() { + echo "$@" 1>&2 +} + +Unquote() { + out=${1#\'} + echo "${out%\'}" +} + +VERBOSITY=0 +Debug() { + [ $1 -le $VERBOSITY ] && shift && echo "$@" >&2 +} + |
