From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_40,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2d8bc00b1190f5f9 X-Google-Attributes: gid103376,public From: bill@cool Subject: Re: GETARG in Ada? Date: 1999/02/27 Message-ID: <7ba3n9$kbr@drn.newsguy.com>#1/1 X-Deja-AN: 449462112 References: <7b9r2g$lha$1@netra.msu.montana.edu> <0PjuprqY#GA.177@pet.hiwaay.net> Organization: Newsguy News Service [http://www.newsguy.com] Newsgroups: comp.lang.ada Date: 1999-02-27T00:00:00+00:00 List-Id: 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.