New 2024 POSIX Standards specify features for sh and standard shell utilities

https://ieeexplore.ieee.org/document/10555529

The document itself is paywalled like all the POSIX specifications, so here are some highlights courtesy of some comments at HackerNews, especially from a-french-anon.

16 points · 1 comments · view on lemmy.world

1 Comments

gamma@programming.dev · 4 pts · 2y

IMO the NUL-delimited options are by far the biggest win for shell scripting. $' ' will be the most commonly used addition, but "$(printf '...')" was always an option before. You don't really have an alternative read -d ''.