From 25070032c4996c7ff3b827e87bd099dd593cc649 Mon Sep 17 00:00:00 2001 From: deajan Date: Tue, 2 Oct 2018 10:51:45 +0200 Subject: [PATCH] Typo fix --- dev/ofunctions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/ofunctions.sh b/dev/ofunctions.sh index eaf9c23..945bf95 100644 --- a/dev/ofunctions.sh +++ b/dev/ofunctions.sh @@ -1272,7 +1272,7 @@ function IsNumeric { local value="${1}" if type expr > /dev/null 2>&1; then - expr "$value" : ""^[-+]\?[0-9]*\.\?[0-9]\+$" > /dev/null 2>&1 + expr "$value" : "^[-+]\?[0-9]*\.\?[0-9]\+$" > /dev/null 2>&1 if [ $? -eq 0 ]; then echo 1 else