Is there no good way to parse options from a shell script? getopt: long opts not supported, broken in general getopts: long opts not supported zparseopts (zsh): long opts supported but kind of broken; if you want to accept `--my_opt foo`, it also accepts `--my_optfoo` (!)
-
Show this thread
-
The standard for GNU long opts is to accept both `--my_opt=foo` and `--my_opt foo` as equivalent. But zparseopts cannot distinguish `--my_opt=foo` from `--my_opt =foo` (i.e. using space as a delimiter, followed by an argument starting with an equals sign).
1 reply 0 retweets 2 likesShow this thread
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
