Flags with more than one letter

Jonathan I. Kamens jik at athena.mit.edu
Fri Apr 12 07:47:54 AEST 1991


In article <1991Apr10.132106.4122 at fmrco>, harold at fmrco (Harold Naparst) writes:
|> How do you pass flags to main() with more than one letter?
|> I am using getopt, and it only allows flags with one letter.
|> Is there another option parsing program I should know 
|> about ?

  There is no other option parsing package in the standard Unix distribution. 
There is, however, the "parseargs" package which was posted recently to
comp.sources.misc.  If you don't know how to check comp.sources.misc and the
other Usenet source archives to find things like this, or you don't know how
to get sources from the archives, you can find out by reading the article
which you can retrieve using the instructions at the end of this message.

-- 
Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik at Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8085			      Home: 617-782-0710
-- 
        Subject: (DRAFT) Information about finding sources (READ THIS BEFORE POSTING)
        Newsgroups: comp.sources.wanted,alt.sources.wanted

        Available via anonymous ftp from pit-manager.mit.edu (18.72.1.58)
        in the file

        /pub/usenet/comp.sources.wanted/(DRAFT)_Information_about_finding_sources_(READ_THIS_BEFORE_POSTING)

        Available from mail-server at pit-manager.mit.edu by sending a message
        containing

        send usenet/comp.sources.wanted/(DRAFT)_Information_about_finding_sources_(READ_THIS_BEFORE_POSTING)

        Send a message containing "help" to get general information about the
        mail server.



More information about the Comp.unix.questions mailing list