gnu-getopt

Install command:
brew install gnu-getopt

Command-line option parsing utility

https://github.com/util-linux/util-linux

License: GPL-2.0-or-later

Formula JSON API: /api/formula/gnu-getopt.json

Bottle JSON API: /api/bottle/gnu-getopt.json

Formula code: gnu-getopt.rb on GitHub

Bottle (binary package) installation support provided for:

Intel ventura
monterey
big sur
catalina
64-bit linux
Apple Silicon ventura
monterey
big sur

Current versions:

stable 2.38.1

Keg-only

Depends on when building from source:

asciidoctor 2.0.18 Text processor and publishing toolchain for AsciiDoc
autoconf 2.71 Automatic configure script builder
automake 1.16.5 Tool for generating GNU Standards-compliant Makefiles
pkg-config 0.29.2 Manage compile and link flags for libraries

Analytics (macOS):

Installs (30 days)
gnu-getopt 14,242
Installs on Request (30 days)
gnu-getopt 2,972
Build Errors (30 days)
gnu-getopt 2
Installs (90 days)
gnu-getopt 125,890
Installs on Request (90 days)
gnu-getopt 8,259
Installs (365 days)
gnu-getopt 1,049,706
Installs on Request (365 days)
gnu-getopt 46,786

Analytics (Linux):

Installs (30 days)
gnu-getopt 326
Installs on Request (30 days)
gnu-getopt 87
Build Errors (30 days)
gnu-getopt 0
Installs (90 days)
gnu-getopt 2,859
Installs on Request (90 days)
gnu-getopt 344
Installs (365 days)
gnu-getopt 19,736
Installs on Request (365 days)
gnu-getopt 1,424
Fork me on GitHub