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 error. If there's a way to get the ascii value, then I could check that. Any ideas? Thanks.
Kelly
Kelly