On Sun, Jun 17, 2007 at 12:22:54AM -0400, Chris Turner wrote: > - doing this 'inline' within the getopt processing. Felt this > was simpleenough a task that that wasn't a big deal, but I > can see how some might not like it that way. How does this work if -p is specified more than once? You don't have to strdup optarg if you don't modify argv. Joerg