Index: [thread] [date] [subject] [author]
  From: Michael Abernethy <mna@duke.edu>
  To  : 
  Date: Thu, 4 Mar 1999 17:23:13 -0500

getopt()

I'm working on goof right now and have tried to implement the getopt() 
function.
It works fine when I type:     goof -r filename
It works fine when I type:     goof wordToFind

It doesn't work when I type:   goof wordToFind -r filename

Has anyone run across this problem, and if you have, how did you manage 
to fix it?
getopt() seems to work only when there's a -command as argv[1], and not at 
any other position
Thanks alot,

Mike Abernethy
www.duke.edu/~mna
IBM Club Cyberblue - www.cybrblu.ibm.com



Index: [thread] [date] [subject] [author]