Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcvax!ukc!reading!cf-cm!csisles!everson From: everson@CompSci.Bristol.AC.UK (Phill Everson ) Newsgroups: comp.lang.c Subject: getopt()/egetopt() Message-ID: <853@csisles.Bristol.AC.UK> Date: 13 Jun 89 11:09:44 GMT Reply-To: everson@CompSci.Bristol.AC.UK () Organization: Dept of Computer Science, University of Bristol, UK. Lines: 22 Following the getopt()/egetopt() discussions here in early 1988 ... 2 questions about getopt()/egetopt() ... 1) Is there any way of allowing getopt() to parse the following: foo -Wt name -x a ... 2) Or foo -x a b -y a ... Obviously, I want to be able to combine the above. I suspect 2) is possible with getopt() somehow, but for 1) it may be necessary to modify egetopt(). Has anyone done this before or has anyone any ideas about how it could be done? I'd prefer email ... Thanks in advance, Phill Everson Medical Imaging Dept Comp Sci University of Bristol, UK