https://git.savannah.gnu.org/cgit/sed.git/tree/sed/sed.c?h=v...
https://github.com/freebsd/freebsd/blob/release/7.0.0/usr.bi...
So, while your interpretation of the shell splitting is correct, it's the different getopt declarations that cause this pain
https://git.savannah.gnu.org/cgit/sed.git/tree/sed/sed.c?h=v...
https://github.com/freebsd/freebsd/blob/release/7.0.0/usr.bi...
So, while your interpretation of the shell splitting is correct, it's the different getopt declarations that cause this pain