Path: csiph.com!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: gah4 Newsgroups: comp.compilers Subject: Re: Do people create parsers for command line arguments? Date: Mon, 8 Aug 2022 22:01:08 -0700 (PDT) Organization: Compilers Central Lines: 12 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <22-08-002@comp.compilers> References: <22-07-054@comp.compilers> <22-07-057@comp.compilers> <22-07-059@comp.compilers> <22-08-001@comp.compilers> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="98220"; mail-complaints-to="abuse@iecc.com" Keywords: parse Posted-Date: 09 Aug 2022 13:10:43 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com In-Reply-To: <22-08-001@comp.compilers> Xref: csiph.com comp.compilers:3151 On Monday, August 8, 2022 at 8:17:26 PM UTC-7, Giacinto Cifelli wrote: > in general the linux command line arguments are parsed through getopt(3) > https://www.man7.org/linux/man-pages/man3/getopt.3.html VMS has its own fancy command line parser, mostly used for the built-in commands. Among others, it allows for abbreviating commands and command options, and I believe some checking on the arguments themselves. If you install programs with their own descriptor file, it integrates that with the existing parser.