diff options
| author | Max Mahn <mahn.maxwell@proton.me> | 2026-05-20 09:23:50 -0400 |
|---|---|---|
| committer | Max Mahn <mahn.maxwell@proton.me> | 2026-05-20 09:23:50 -0400 |
| commit | 137e4ed9d74891349de1b0da1e0cf2653ea92c5e (patch) | |
| tree | 29f913c45c081ec52269362eb2ce7f6f18d09070 /src/util.sh | |
initial commit
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 +} + |
