Command Line Parsing Functions
Endpoint Privilege Management for Unix and Linux provides functions to facilitate the parsing of command arguments. The following table summarizes these functions.
Function | Description |
getopt() |
Examines a list of arguments for short options. Version 3.5 and earlier: function not available. Version 4.0 and later: function available. |
getopt_long() |
Examines a list of arguments for any combination of short or long-style options. Version 3.5 and earlier: function not available. Version 4.0 and later: function available. |
getopt_long_only() |
Examines a list of arguments long-style options. Version 3.5 and earlier: function not available. Version 4.0 and later: function available. |