I am writing a simple file splitter, and I need to know something. I am taking several arguements in for the program...and they go like so.
fsplit <split/ammend> <file> <number of times to split>
Now, the number of files to split is handled by argv, obviously, but what I need to do, is have that arg be an interger rather than a character, for obvious reasons. Is there anything I can do?