with the following command I can verify/match if param have numbers or "."
param=2.3.1 echo $param | grep [0-9][.]
but what I need to add in my syntax in order to verify also if I have at least two numbers (number or more on the right side and number or more on the left side)
example of valid numbers
12.2 1.2 4.3.0 123.4.223 22.214.171.124.2 126.96.36.199.4
example of not valid numbers
.39274 1233. .7. .5666666. 2...