Does anyone have a good example/tutorial of how to handle flags using getopts or another structure with values to be read in right after the flags. I'm using a generic switch checking for the '-' character and its not working as I plan because, I need to be able to move the flags around and still have it read in the correct input. If anyone has a small/simplistic example or tutorial that would be very helpful. Thank you.



LinkBack URL
About LinkBacks


