News for hackers. Stuff that matters.
Re:Argbash – Bash Argument Parsing Code Generator by databasher on Monday March 20, 2023 @05:43PM (#35239203)
If you refer to my example above, you'll find that Bash's native "getopts" handles long options just fine. It accepts short option `-`, with an argument. This handles --long-options and --long-options=with-arguments.

Feel free to use your own formatting preferences.

Re:Argbash – Bash Argument Parsing Code Generator by sacnoradhq on Monday March 20, 2023 @06:22PM (#35239646)