Command-line option parsing utility compatible with GNU getopt
Command-line option parsing utility
getopt
$ getopt ab:c "$@"
$ getopt -o ab:c --long alpha,beta:,charlie -- "$@"
$ ARGS=$(getopt -o h --long help -- "$@") && eval set -- "$ARGS"