Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!swrinde!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!netnews.upenn.edu!vax1.cc.lehigh.edu!spot.CC.Lehigh.EDU!lubkt From: lubkt@spectrum.CC.Lehigh.EDU (Binod K. Taterway) Newsgroups: comp.lang.c Subject: get arguments .. Message-ID: Date: 19 Jun 91 14:47:24 GMT Distribution: comp.lang.c Organization: Lehigh University, Bethlehem, PA Lines: 14 Nntp-Posting-Host: spectrum.cc.lehigh.edu I need to parse command line arguments of the following nature: command [ -option [ arguments ] ... ] I have seen such programs all around the net. Now when I need to use it, I don't seem to recall where to find it. Any hints? Thanks. -- --- Binod Taterway Sr. User Consultant | lubkt@spectrum.CC.Lehigh.EDU Lehigh University Computing Center | bt00@lehigh.BITNET