4 ms·
> POSIX even changed their rules about binary in shell scripts specifically to let us do it. What does this refer to? The latest POSIX standard was released 2
by c-c-c-c-c 3y ago
> POSIX even changed their rules about binary in shell scripts specifically to let us do it.
What does this refer to?
The latest POSIX standard was released 2007. [1]
1: https://standards.ieee.org/ieee/1003.1/7101/ https://standards.ieee.org/ieee/1003.1/7101/
- mananaysiempre 3y agoPOSIX / SUS / the Open Group Base Specifications have issues (pun not intended, but I’ll take it), and then those issues have editions. The last one of those is from 2018[1], being a revision of (indeed) the 2008 issue. (I remember Landley being more than a little acidic about this versioning scheme.) I still have no idea what the quote is referring to, though, and given Justine’s slightly (deliberately?) unhinged manner of writing, I’d give even odds the change is in fact from 2001 or something like that. [1] https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/mindex.html https://pubs.opengroup.org/onlinepubs/9699919799.2018edition...
- csande17 3y agoThe references to POSIX "approval"/"changes" in Cosmopolitan docs are usually talking about bugs like this: https://austingroupbugs.net/view.php?id=1250 https://austingroupbugs.net/view.php?id=1250 I'm not sure whether the proposed changes have actually made it into a published edition of the specification.
- mananaysiempre 3y agoThis looks to be the one, thank you! Doesn’t look to have gotten into the current version [the sh(1) page in the version I linked still refers to text files]. (The bug is also tagged tc3-2008, when the last corrigendum released is TC2, and the change was marked applied in 2019. So it makes sense it hasn’t found its way into a release yet.)
- jart 3y agoAuthor here. See https://austingroupbugs.net/view.php?id=1250 https://austingroupbugs.net/view.php?id=1250 and https://austingroupbugs.net/view.php?id=1226 https://austingroupbugs.net/view.php?id=1226 with a major shoutout to Jilles Tjoelker from the FreeBSD who helped make it possible back then!
- tedunangst 3y agoDon't think this is the bug they refer to, but it's one affecting sh input rules. There are others. https://austingroupbugs.net/view.php?id=1250 https://austingroupbugs.net/view.php?id=1250