Is there anyway to do type checking in a UNIX script? I need to check if a command line argument to my script is an integer. I'm using a while loop to get each character, but I don't know how to check if the character is an integer. I tried checking if it was between 0 and 9, but I got an...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.