From 758e00edfcb40dd10e9d6bac1662c6cba3e5e8ef Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sat, 28 Nov 2020 02:51:48 -0700 Subject: [PATCH] add func convertCase to convert to uppercase --- entrypoint.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 32b1fdc..e352bf5 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,6 +3,10 @@ ### entrypoint script for mariadb container # +convertCase () { + printf "%s" "$1" | tr "[:lower:]" "[:upper:]" +} + # instantiate variables sqlCmd='/tmp/cmd.sql'