gaboshlib/g_num_valid_number.sh aktualisiert
This commit is contained in:
parent
44b9f98ed2
commit
13e66130f5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user