Timeline for Are Shell Script --long-options POSIX compatible?
Current License: CC BY-SA 4.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 3 at 13:44 | comment | added | ilkkachu | I don't think there's a getopt from GNU, the one most often seen on Linuxen is from the util-linux package. But note that many "traditional" implementations of getopt don't support even whitespace in arguments (that includes the one on macOS). The util-linux implementation has the -T option to test for the "enhanced" features exactly because of that. Busybox also has an implementation of getopt that supports whitespace and long options. | |
| Jan 3 at 13:24 | history | answered | U. Windl | CC BY-SA 4.0 |