Excellent effort. however, I have quite a few comments: 1. If you are not aware already, you should get familiar with getopt() and start using it. The look and feel of a program is much like any UNIX command when you start using getopt() and its simply amazing.