Skip to main content
7 events
when toggle format what by license comment
Oct 2, 2015 at 18:29 comment added Stéphane Chazelas There's little benefit for a Linux+other free software distribution vendor to get certified and anyway it would be hard to achieve because the software is developed by 3rd parties anyway. But there's a lot of benefit in being POSIX conformant (or at least to agree on one standard, and the opensource community has so far failed to come up with a compelling alternative to POSIX), to ease interoperability and you see most core software maintainers aiming at that. For echo (a lost cause), blaming bash is wrong since bash is conformant when in the right environment (and is certified via OS/X)
Oct 2, 2015 at 16:47 comment added schily I am not aware of a single Linux distro that seeks POSIX compliance. The Linux folks decided that they do neither actively collaborate in the POSIX process nor try to follow existing POSIX standards. They have been given the chance to get a POSIX certification for 1 $ and Andrew Josey (OpenGroup chair) spend a lot of time to help the Linux people with the certification and related fixes but at some time they did stop any related activity. BTW: The situation with echo is a result of the implementation in bash that is a result of the unwillingness of the FSF to follow existing standards.
Oct 2, 2015 at 15:16 comment added Stéphane Chazelas most Linux/GNU-based Unix-like software distributions only seek (without committing to) POSIX conformance, and only follow XSI unless that would break backward compatibility (like would be for echo). Same of FreeBSD. Between themselves, that probably constitutes over 90% of the audience of this Q&A site, so they can't be ignored. Best it to give up altogether on echo. That command is beyond hope to be made portable.
Oct 2, 2015 at 14:49 history edited schily CC BY-SA 3.0
typo
Oct 2, 2015 at 14:48 comment added schily Do you know of a single system that intentionally decided not to be XSI compliant?
Oct 2, 2015 at 14:36 comment added Stéphane Chazelas The behaviour of echo '\0013\0003!' is unspecified by POSIX. Posixly, you'd write printf '\13\3!\n'.
Oct 2, 2015 at 14:26 history answered schily CC BY-SA 3.0