comp.lang.ada
 help / color / mirror / Atom feed
From: bill@cool
Subject: Re: GETARG in Ada?
Date: 1999/02/27
Date: 1999-02-27T00:00:00+00:00	[thread overview]
Message-ID: <7ba3n9$kbr@drn.newsguy.com> (raw)
In-Reply-To: 0PjuprqY#GA.177@pet.hiwaay.net



it should be possible to call the Unix getopt() function from Ada. why
not do this? getopt is designed to break command line arguments
easily. 

------------------------------------------------------------

GETOPT(1)                                               GETOPT(1)

NAME
       getopt - parse command options (enhanced)

SYNOPSIS
       getopt optstring parameters

       getopt [options] [--] optstring parameters

       getopt [options] -o|--options optstring [options] [--] 
              parameters

DESCRIPTION
 getopt is used to break up (parse) options in command lines for 
easy parsing by shell pro-cedures, and to check for legal options.  
It uses the GNU getopt(3) routines to do this.




  reply	other threads:[~1999-02-27  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-27  0:00 GETARG in Ada? Lou Glassy
1999-02-27  0:00 ` David C. Hoos, Sr.
1999-02-27  0:00   ` bill [this message]
1999-02-28  0:00     ` James S. Rogers
1999-03-02  0:00     ` Stephen Leake
1999-03-02  0:00       ` nabbasi
1999-02-27  0:00 ` bob
1999-02-28  0:00 ` Matthew Heaney
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox