I have a problem
If [[ * ]] then continue else exit 1 fi
I want to test that the argument to my switch (for example
-d 3) is a valid positive decimal integer number (a sequence of one or more of any of the ASCII characters from
-d there can be only be a number
[0,infinity). Everything else is bad. I do not know what to put instead of
Can you help me ?
-d is at