5408
Comment: **text** => '''text'''
|
30427
Adjust the other urls from issue 7 to issue 8
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
POSIX is a standard specifying source-code compatibility for C99 and Bourne-family shell programs. The latest version currently available for free is http://pubs.opengroup.org/onlinepubs/9699919799, with the part on [[http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap01.html|Shell and Utilities]] being the most important part to read if you want to write shell scripts that will work on more than one system. | <<TableOfContents>> == About POSIX == POSIX is a standard specifying source-code compatibility for C99 (up to Issue 7), C17 (from Issue 8), and Bourne-family shell programs. The latest version currently available for free is https://pubs.opengroup.org/onlinepubs/9799919799, with the part on [[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap01.html|Shell and Utilities]] being the most important part to read if you want to write shell scripts that will work on more than one system. |
Line 5: | Line 9: |
POSIX defines a certain set of options for the [[http://pubs.opengroup.org/onlinepubs/9699919799/utilities/grep.html|grep]] command. GNU grep, and recent versions of BSD grep, include a `-o` option that output only what matched each pattern, instead of the lines that contained a match. POSIX does not define a `-o` option, but both grep implementations are POSIX compliant since they implement all the required options and behaviour described by POSIX. This means that if you use grep with the `-o` option in a script, you can't expect the script to work the same on other POSIX compliant systems. While if you only use options and features described by POSIX, you '''can''' expect the script to work on any POSIX compliant system. | POSIX defines a certain set of options for the [[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/grep.html|grep]] command. GNU grep, and recent versions of BSD grep, include a `-o` option that output only what matched each pattern, instead of the lines that contained a match. POSIX does not define a `-o` option, but both grep implementations are POSIX compliant since they implement all the required options and behaviour described by POSIX. This means that if you use grep with the `-o` option in a script, you can't expect the script to work the same on other POSIX compliant systems. While if you only use options and features described by POSIX, you '''can''' expect the script to work on any POSIX compliant system. |
Line 21: | Line 25: |
So, what's up with having 3 versions from different publishers? They are all the same. I don't mean equivalent, I mean the same. As a product of a Open Group/IEEE joint working group, the [[http://www.opengroup.org/austin/|Austin Group]], the Open Group and IEEE publish their versions at the same time; identical documents, except with a differing cover page. Then the IEEE version goes to ISO/IEC where it gets approved (which takes time, hence the 2009 instead of 2008), and they insert 3 new pages before the IEEE cover page (ISO cover page, PDF disclaimer/copyright statement, forward with committee information). | So, what's up with having 3 versions from different publishers? They are all the same. I don't mean equivalent, I mean the same. As a product of a Open Group/IEEE joint working group, the [[https://www.opengroup.org/austin/|Austin Group]], the Open Group and IEEE publish their versions at the same time; identical documents, except with a differing cover page. Then the IEEE version goes to ISO/IEC where it gets approved (which takes time, hence the 2009 instead of 2008), and they insert 3 new pages before the IEEE cover page (ISO cover page, PDF disclaimer/copyright statement, forward with committee information). |
Line 27: | Line 31: |
There is a [[http://get.posixcertified.ieee.org/|POSIX certification]]. Getting a product certified allows it to use the POSIX mark in the marketing, and allows it to be listed in the [[http://get.posixcertified.ieee.org/register.html|POSIX register]]. However, the register is pretty empty; the certification requires a (costly) yearly renewal. This certification, contrary to popular myth, does not entitle a system to the UNIX name; the Open Group UNIX certification is required for that. | There is a [[https://get.posixcertified.ieee.org/|POSIX certification]]. Getting a product certified allows it to use the POSIX mark in the marketing, and allows it to be listed in the [[https://get.posixcertified.ieee.org/register.html|POSIX register]]. However, the register is pretty empty; the certification requires a (costly) yearly renewal. This certification, contrary to popular myth, does not entitle a system to the UNIX name; the Open Group UNIX certification is required for that. |
Line 35: | Line 39: |
There is not a SUS certification; instead, the Open Group has a UNIX certification--but it isn't just testing for compliance with SUS! The Open Group [[http://www.opengroup.org/openbrand/register/xv7m0.htm|UNIX V7 certification]] tests for SUSv4, ''and'' the UNIX RBAC (Role-Based Access Control; user and group permissions), which isn't in SUS/POSIX. | There is not a SUS certification; instead, the Open Group has a UNIX certification--but it isn't just testing for compliance with SUS! The Open Group [[https://www.opengroup.org/openbrand/register/xv7m0.htm|UNIX V7 certification]] tests for SUSv4, ''and'' the UNIX RBAC (Role-Based Access Control; user and group permissions), which isn't in SUS/POSIX. |
Line 37: | Line 41: |
Similarly to the POSIX certification, there is a [[http://www.opengroup.org/openbrand/register/|register]]. It is more populated than the POSIX register, but still doesn't have anything listed for UNIX V7; only the previous version, UNIX 03. | Similarly to the POSIX certification, there is a [[https://www.opengroup.org/openbrand/register/|register]]. It is more populated than the POSIX register, but still doesn't have anything listed for UNIX V7; only the previous version, UNIX 03. == Utilities == Links to the various POSIX Issue 8 pages, arranged similar to [[https://shellhaters.org|shellhaters]]. || '''Language''' || '''Programming''' || '''Text''' || '''Files''' || '''Processes''' || || [[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#tag_19_01|intro]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/alias.html#top|alias]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/awk.html#top|awk]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/basename.html#top|basename]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/bg.html#top|bg]] || || [[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#tag_19_02|quoting]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/bc.html#top|bc]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/cat.html#top|cat]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/cal.html#top|cal]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/fg.html#top|fg]] || || [[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#tag_19_05|variables]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/command.html#top|command]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/cksum.html#top|cksum]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/cd.html#top|cd]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/kill.html#top|kill]] || || [[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#tag_19_06|expansion]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/date.html#top|date]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/cmp.html#top|cmp]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/comm.html#top|comm]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/nice.html#top|nice]] || || [[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#tag_19_07|redirection]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/env.html#top|env]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/comm.html#top|comm]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/chmod.html#top|chmod]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/nohup.html#top|nohup]] || || [[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#tag_19_08|exit status]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/expr.html#top|expr]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/csplit.html#top|csplit]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/chown.html#top|chown]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/ps.html#top|ps]] || || [[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#tag_19_09|commands]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/false.html#top|false]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/cut.html#top|cut]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/cp.html#top|cp]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/renice.html#top|renice]] || || [[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#tag_19_10|grammar]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/getopts.html#top|getopts]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/echo.html#top|echo]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/dd.html#top|dd]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/timeout.html#top|timeout]] || || [[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#tag_19_11|signals]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/hash.html#top|hash]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/ed.html#top|ed]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/df.html#top|df]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/wait.html#top|wait]] || || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/fc.html#top|fc]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/ex.html#top|ex]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/dirname.html#top|dirname]] || || || '''Built-in''' || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/id.html#top|id]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/expand.html#top|expand]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/du.html#top|du]] || '''Job Control''' || || [[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#dot|.]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/locale.html#top|locale]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/fold.html#top|fold]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/file.html#top|file]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/at.html#top|at]] || || [[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#colon|:]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/localedef.html#top|localedef]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/gettext.html#top|gettext]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/find.html#top|find]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/batch.html#top|batch]] || || [[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#break|break]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/logger.html#top|logger]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/grep.html#top|grep]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/fuser.html#top|fuser]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/jobs.html#top|jobs]] || || [[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#continue|continue]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/logname.html#top|logname]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/head.html#top|head]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/link.html#top|link]] || || || [[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#eval|eval]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/newgrp.html#top|newgrp]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/join.html#top|join]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/ln.html#top|ln]] || || || [[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#exec|exec]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/pathchk.html#top|pathchk]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/more.html#top|more]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/ls.html#top|ls]] || || || [[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#exit|exit]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/pwd.html#top|pwd]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/msgfmt.html#top|msgfmt]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/mkdir.html#top|mkdir]] || || || [[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#export|export]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/read.html#top|read]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/nl.html#top|nl]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/mkfifo.html#top|mkfifo]] || || || [[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#readonly|readonly]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/sh.html#top|sh]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/od.html#top|od]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/mv.html#top|mv]] || || || [[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#return|return]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/sleep.html#top|sleep]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/paste.html#top|paste]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/readlink.html#top|readlink]] || || || [[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#set|set]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/test.html#top|test]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/printf.html#top|printf]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/realpath.html#top|realpath]] || || || [[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#shift|shift]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/time.html#top|time]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/sed.html#top|sed]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/rm.html#top|rm]] || || || [[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#times|times]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/timeout.html#top|timeout]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/sort.html#top|sort]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/rmdir.html#top|rmdir]] || || || [[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#trap|trap]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/tput.html#top|tput]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/split.html#top|split]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/tee.html#top|tee]] || || || [[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#unset|unset]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/true.html#top|true]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/tail.html#top|tail]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/touch.html#top|touch]] || || || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/type.html#top|type]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/tr.html#top|tr]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/unlink.html#top|unlink]] || || || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/unalias.html#top|unalias]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/tsort.html#top|tsort]] || || || || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/uname.html#top|uname]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/unexpand.html#top|unexpand]] || || || || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/write.html#top|write]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/uniq.html#top|uniq]] || || || || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/xargs.html#top|xargs]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/wc.html#top|wc]] || || || || || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/xgettext.html#top|xgettext]] || || || || '''Development''' || '''Admin''' || '''Terminal''' || '''Comm''' || '''Compression''' || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/ar.html#top|ar]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/crontab.html#top|crontab]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/stty.html#top|stty]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/mailx.html#top|mailx]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/compress.html#top|compress]] || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/asa.html#top|asa]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/getconf.html#top|getconf]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/tabs.html#top|tabs]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/mesg.html#top|mesg]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/pax.html#top|pax]] || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/c17.html#top|c17]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/ulimit.html#top|ulimit]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/tty.html#top|tty]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/talk.html#top|talk]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/uncompress.html#top|uncompress]] || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/cflow.html#top|cflow]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/umask.html#top|umask]] || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/uucp.html#top|uucp]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/zcat.html#top|zcat]] || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/ctags.html#top|ctags]] || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/who.html#top|who]] || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/uudecode.html#top|uudecode]] || || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/cxref.html#top|cxref]] || || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/uuencode.html#top|uuencode]] || || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/diff.html#top|diff]] || || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/uustat.html#top|uustat]] || || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/gencat.html#top|gencat]] || || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/uux.html#top|uux]] || || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/iconv.html#top|iconv]] || || || || || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/lex.html#top|lex]] || || || || || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/m4.html#top|m4]] || || || || || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/make.html#top|make]] || || || || || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/man.html#top|man]] || || || || || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/nm.html#top|nm]] || || || || || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/patch.html#top|patch]] || || || || || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/strings.html#top|strings]] || || || || || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/strip.html#top|strip]] || || || || || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/vi.html#top|vi]] || || || || || || [[https://www.opengroup.org/onlinepubs/9799919799/utilities/yacc.html#top|yacc]] || || || || || |
Contents
About POSIX
POSIX is a standard specifying source-code compatibility for C99 (up to Issue 7), C17 (from Issue 8), and Bourne-family shell programs. The latest version currently available for free is https://pubs.opengroup.org/onlinepubs/9799919799, with the part on Shell and Utilities being the most important part to read if you want to write shell scripts that will work on more than one system.
An important thing to realise about POSIX is that it generally does not restrict the commands it defines. It defines what features a given command or function should at least implement. To take an example:
POSIX defines a certain set of options for the grep command. GNU grep, and recent versions of BSD grep, include a -o option that output only what matched each pattern, instead of the lines that contained a match. POSIX does not define a -o option, but both grep implementations are POSIX compliant since they implement all the required options and behaviour described by POSIX. This means that if you use grep with the -o option in a script, you can't expect the script to work the same on other POSIX compliant systems. While if you only use options and features described by POSIX, you can expect the script to work on any POSIX compliant system.
It is often claimed that POSIX is a standard for UNIX-like operating systems. Superficially, this seems true, as C and shell are the primary ways of interacting with *NIX systems, but it isn't strictly true. Totally non-UNIXy systems such as IBM z/OS are POSIX certified.
There is also a lot of confusion with the relationship between POSIX and the Single UNIX Specification (SUS), and the UNIX trademark. This article will clarify that.
The POSIX standard
POSIX is published by 3 different organizations; the Open Group, IEEE, and ISO/IEC. The most recent version of POSIX is POSIX-2008, 2016 edition; that is: the 2008 version of POSIX, with the 2016 "Technical Corrigendum 2" (TC2-2016) applied (replacing the 2013 "Technical Corrigendum 1").
The Open Group calls this "C165"; that is standard "C082" (2008) with update "U160" (2016) applied.
IEEE calls this "IEEE Std 1003.1-2008, 2016 Edition"; that is "IEEE Std 1003.1-2008" with "1003.1-2008/Cor 2-2016" applied. Prior to 1997, there were three separate core POSIX documents; 1003.0 for base definitions, 1003.1 for C, and 1003.2 for shell (there were even other non-core documents, such as 1003.5 for Ada). Because of this, you may see references to "POSIX.1" for C things and "POSIX.2" for shell things. However, in 1997, C and shell got rolled into one document.
ISO/IEC calls the base document "ISO/IEC/IEEE 9945:2009", and calls TC2 "ISO/IEC/IEEE 9945:2009/Cor 2:2017".
So, what's up with having 3 versions from different publishers? They are all the same. I don't mean equivalent, I mean the same. As a product of a Open Group/IEEE joint working group, the Austin Group, the Open Group and IEEE publish their versions at the same time; identical documents, except with a differing cover page. Then the IEEE version goes to ISO/IEC where it gets approved (which takes time, hence the 2009 instead of 2008), and they insert 3 new pages before the IEEE cover page (ISO cover page, PDF disclaimer/copyright statement, forward with committee information).
There are other IEEE standards bearing the "POSIX" name, but they are not important (for example, IEEE Std 1387.2-1995, containing some administration utilities).
The POSIX certification
There is a POSIX certification. Getting a product certified allows it to use the POSIX mark in the marketing, and allows it to be listed in the POSIX register. However, the register is pretty empty; the certification requires a (costly) yearly renewal. This certification, contrary to popular myth, does not entitle a system to the UNIX name; the Open Group UNIX certification is required for that.
The Single UNIX Specification
Related to POSIX is the Single Unix Specification (SUS). Back in the day, there were many differences between SUS and POSIX, but today SUS is just POSIX+Curses. SUSv4 is literally a document set (Open Group T101) of two separate documents; Open Group C165 (POSIX-2008, 2016 edition), and Open Group C094 (X/Open Curses, Issue 7). When a new corrigendum comes out, the SUS document set is updated to include the edition of POSIX with it applied, without issuing a new document set number; T101 previously included C138 (POSIX-2008, 2013 edition).
The UNIX certification
There is not a SUS certification; instead, the Open Group has a UNIX certification--but it isn't just testing for compliance with SUS! The Open Group UNIX V7 certification tests for SUSv4, and the UNIX RBAC (Role-Based Access Control; user and group permissions), which isn't in SUS/POSIX.
Similarly to the POSIX certification, there is a register. It is more populated than the POSIX register, but still doesn't have anything listed for UNIX V7; only the previous version, UNIX 03.
Utilities
Links to the various POSIX Issue 8 pages, arranged similar to shellhaters.
Language |
Programming |
Text |
Files |
Processes |
|
|
|||
Built-in |
Job Control |
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
|
Development |
Admin |
Terminal |
Comm |
Compression |
|
||||
|
|
|||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|