gaboshlib/g_num_valid_number.sh aktualisiert

This commit is contained in:
olli 2023-11-07 10:19:54 +01:00
parent 44b9f98ed2
commit 13e66130f5

View File

@ -4,7 +4,7 @@ function g_num_valid_number {
do
if ! [[ ${f_num} =~ ^(-)?(\.)?[0-9]+(\.[0-9]+)?$ ]]
then
g_echo "\"${f_num}\": Not a valid number"
echo "\"${f_num}\": Not a valid number" 1>&2
g_traceback
return 1
fi