@navi@domi@ar@multisn8 dash wouldn't exactly conflict as it's not required to be everywhere or even widespread to get into POSIX, it just helps and it needs to not outright conflict (like the `local` keyword is horrible as there's different behavior between shells).
Just that I think dash authors could argument against it getting in POSIX.
i want to open an issue with austin group about arrays to posix sh. ksh, bash, zsh, oil, and others all have it in basically the same syntax and semantics, and dash doesn't have feature that could conflict with it as far as i've seen
and asking some folks on irc, none knows of that issue ever being opened, so, i wanna try when i have some time
@navi@domi@ar@multisn8@lanodan and this array sucks also, can't even do indirect indexing and passing it around is very expensive.
when i was making one weird shell script and did it in posix sh (for religious and torture reasons) i eventually settled on implementing my own arrays with eval hacks (each element of an array is stored in its own variable and the "array variable" stores a prefix used to find them - eval is needed to reference the variables dynamically) - it was much better (both faster and pleasanter) than the previous $@-based approach and astronomically better than the "store an array as a newline-delimited list of encoded strings in a variable and pipe it into filters and store back the output to the variable" approach which is then astronomically better than the same thing but with NULs and no encoding - that one is unusably slow because POSIX sh doesn't even have a way to read a NUL-terminated string from a stream without invoking fucking dd for each fucking byte