Install the latest POSIX man pages?
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
CentOS 6 (and probably most Linux distros) includes a man page section 1p
for POSIX specifications.
man 1p sh
, man 1p sed
, et. al. are all very useful to be able to refer to for portable shell scripting.
However, I've just noticed that these man pages on my system are from the 2003 Open Group Base Specifications! Since then there have been the 2008 edition, the 2013 edition and the 2016 edition.
How can I make the latest POSIX specifications available offline as man pages on my Linux system?
I already attempted the following:
[vagrant@localhost ~]$ set -x
++ printf '33]0;%s@%s:%s07' vagrant localhost '~'
[vagrant@localhost ~]$ sudo yum upgrade $(rpm -qf $(man -w 1p sh))
+++ man -w 1p sh
++ rpm -qf /usr/share/man/man1p/sh.1p.gz
+ sudo yum upgrade man-pages-3.22-20.el6.noarch
Loaded plugins: fastestmirror, security
Setting up Upgrade Process
Loading mirror speeds from cached hostfile
* base: mirrors.evowise.com
* extras: centos.sonn.com
* updates: mirror.scalabledns.com
No Packages marked for Update
++ printf '33]0;%s@%s:%s07' vagrant localhost '~'
[vagrant@localhost ~]$
(On a related note: is there somewhere I can look up the differences of what exactly has changed between the 2003 edition and the 2016 edition?)
man posix
add a comment |
up vote
2
down vote
favorite
CentOS 6 (and probably most Linux distros) includes a man page section 1p
for POSIX specifications.
man 1p sh
, man 1p sed
, et. al. are all very useful to be able to refer to for portable shell scripting.
However, I've just noticed that these man pages on my system are from the 2003 Open Group Base Specifications! Since then there have been the 2008 edition, the 2013 edition and the 2016 edition.
How can I make the latest POSIX specifications available offline as man pages on my Linux system?
I already attempted the following:
[vagrant@localhost ~]$ set -x
++ printf '33]0;%s@%s:%s07' vagrant localhost '~'
[vagrant@localhost ~]$ sudo yum upgrade $(rpm -qf $(man -w 1p sh))
+++ man -w 1p sh
++ rpm -qf /usr/share/man/man1p/sh.1p.gz
+ sudo yum upgrade man-pages-3.22-20.el6.noarch
Loaded plugins: fastestmirror, security
Setting up Upgrade Process
Loading mirror speeds from cached hostfile
* base: mirrors.evowise.com
* extras: centos.sonn.com
* updates: mirror.scalabledns.com
No Packages marked for Update
++ printf '33]0;%s@%s:%s07' vagrant localhost '~'
[vagrant@localhost ~]$
(On a related note: is there somewhere I can look up the differences of what exactly has changed between the 2003 edition and the 2016 edition?)
man posix
1
For OpenBSD users: The POSIX "IEEE Std 1003.1-2008/Cor 1-2013" manual pages are available in thebooks/man-pages-posix
port.
– Kusalananda
Jan 26 '17 at 12:31
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
CentOS 6 (and probably most Linux distros) includes a man page section 1p
for POSIX specifications.
man 1p sh
, man 1p sed
, et. al. are all very useful to be able to refer to for portable shell scripting.
However, I've just noticed that these man pages on my system are from the 2003 Open Group Base Specifications! Since then there have been the 2008 edition, the 2013 edition and the 2016 edition.
How can I make the latest POSIX specifications available offline as man pages on my Linux system?
I already attempted the following:
[vagrant@localhost ~]$ set -x
++ printf '33]0;%s@%s:%s07' vagrant localhost '~'
[vagrant@localhost ~]$ sudo yum upgrade $(rpm -qf $(man -w 1p sh))
+++ man -w 1p sh
++ rpm -qf /usr/share/man/man1p/sh.1p.gz
+ sudo yum upgrade man-pages-3.22-20.el6.noarch
Loaded plugins: fastestmirror, security
Setting up Upgrade Process
Loading mirror speeds from cached hostfile
* base: mirrors.evowise.com
* extras: centos.sonn.com
* updates: mirror.scalabledns.com
No Packages marked for Update
++ printf '33]0;%s@%s:%s07' vagrant localhost '~'
[vagrant@localhost ~]$
(On a related note: is there somewhere I can look up the differences of what exactly has changed between the 2003 edition and the 2016 edition?)
man posix
CentOS 6 (and probably most Linux distros) includes a man page section 1p
for POSIX specifications.
man 1p sh
, man 1p sed
, et. al. are all very useful to be able to refer to for portable shell scripting.
However, I've just noticed that these man pages on my system are from the 2003 Open Group Base Specifications! Since then there have been the 2008 edition, the 2013 edition and the 2016 edition.
How can I make the latest POSIX specifications available offline as man pages on my Linux system?
I already attempted the following:
[vagrant@localhost ~]$ set -x
++ printf '33]0;%s@%s:%s07' vagrant localhost '~'
[vagrant@localhost ~]$ sudo yum upgrade $(rpm -qf $(man -w 1p sh))
+++ man -w 1p sh
++ rpm -qf /usr/share/man/man1p/sh.1p.gz
+ sudo yum upgrade man-pages-3.22-20.el6.noarch
Loaded plugins: fastestmirror, security
Setting up Upgrade Process
Loading mirror speeds from cached hostfile
* base: mirrors.evowise.com
* extras: centos.sonn.com
* updates: mirror.scalabledns.com
No Packages marked for Update
++ printf '33]0;%s@%s:%s07' vagrant localhost '~'
[vagrant@localhost ~]$
(On a related note: is there somewhere I can look up the differences of what exactly has changed between the 2003 edition and the 2016 edition?)
man posix
man posix
asked Jan 26 '17 at 12:14
Wildcard
22.5k959164
22.5k959164
1
For OpenBSD users: The POSIX "IEEE Std 1003.1-2008/Cor 1-2013" manual pages are available in thebooks/man-pages-posix
port.
– Kusalananda
Jan 26 '17 at 12:31
add a comment |
1
For OpenBSD users: The POSIX "IEEE Std 1003.1-2008/Cor 1-2013" manual pages are available in thebooks/man-pages-posix
port.
– Kusalananda
Jan 26 '17 at 12:31
1
1
For OpenBSD users: The POSIX "IEEE Std 1003.1-2008/Cor 1-2013" manual pages are available in the
books/man-pages-posix
port.– Kusalananda
Jan 26 '17 at 12:31
For OpenBSD users: The POSIX "IEEE Std 1003.1-2008/Cor 1-2013" manual pages are available in the
books/man-pages-posix
port.– Kusalananda
Jan 26 '17 at 12:31
add a comment |
3 Answers
3
active
oldest
votes
up vote
3
down vote
The change history for the POSIX.1-2008 standard is included in the Rationale volume.
The Rationale for the Base Definitions contains links to the change history for the System Interfaces and the Shell and Utilities.
Each entry (utility or interface) also has a CHANGE HISTORY section towards the bottom of the individual entries.
The full standard is available here: http://pubs.opengroup.org/onlinepubs/9699919799/nframe.html
See also pubs.opengroup.org/onlinepubs/9699919799.2008edition pubs.opengroup.org/onlinepubs/9699919799.2013edition and pubs.opengroup.org/onlinepubs/9699919799.2016edition for the various editions (technical corrigenda) of POSIX.1-2008 (best for linking in unix.se answers as links (anchors especially) may change when a new edition comes out). And add/download
to those URLs to download the full HTML text as atar
file.
– Stéphane Chazelas
Jan 26 '17 at 23:21
add a comment |
up vote
2
down vote
Man pages describe how the system actually functions, not how a standards body N years after the OS came out changed the standard. If Red Hat chose to ship POSIX 2003 man pages with their OS, I take that as meaning that's the closest POSIX standard to what they shipped.
I would leave the OS-provided POSIX man pages alone, but download the current versions, install them somewhere else like /usr/local/linux-man-pages/share/man
, then put that directory into your MANPATH
.
If you rename the p
pages to have some other tag — say, pc
for "POSIX current" — you can query them separately from the OS-provided ones. For example, you could use a tool like mmv
:
$ mmv 'man1p/*.1p.gz' 'man1p/#1.1pc.gz'
$ mv man1p man1pc
... do the same for man 2p, etc ...
$ man ls # shows GNU ls page
$ man 1p ls # shows OS-provided POSIX ls page
$ man 1pc ls # shows current POSIX ls page
Either remove the non-POSIX man pages that conflict with the OS-provided ones, or tag them similarly if you also want to be able to refer to current Linux-specific man pages. You could use lc
for "Linux current", for example.
add a comment |
up vote
0
down vote
zipped versions of the HTML for grepping
- http://pubs.opengroup.org/onlinepubs/9699919799/download/
- http://pubs.opengroup.org/onlinepubs/9699919799/download/susv4tc2.zip
Those are useful when you start wanting to grep for things, without paying for the PDF.
add a comment |
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
The change history for the POSIX.1-2008 standard is included in the Rationale volume.
The Rationale for the Base Definitions contains links to the change history for the System Interfaces and the Shell and Utilities.
Each entry (utility or interface) also has a CHANGE HISTORY section towards the bottom of the individual entries.
The full standard is available here: http://pubs.opengroup.org/onlinepubs/9699919799/nframe.html
See also pubs.opengroup.org/onlinepubs/9699919799.2008edition pubs.opengroup.org/onlinepubs/9699919799.2013edition and pubs.opengroup.org/onlinepubs/9699919799.2016edition for the various editions (technical corrigenda) of POSIX.1-2008 (best for linking in unix.se answers as links (anchors especially) may change when a new edition comes out). And add/download
to those URLs to download the full HTML text as atar
file.
– Stéphane Chazelas
Jan 26 '17 at 23:21
add a comment |
up vote
3
down vote
The change history for the POSIX.1-2008 standard is included in the Rationale volume.
The Rationale for the Base Definitions contains links to the change history for the System Interfaces and the Shell and Utilities.
Each entry (utility or interface) also has a CHANGE HISTORY section towards the bottom of the individual entries.
The full standard is available here: http://pubs.opengroup.org/onlinepubs/9699919799/nframe.html
See also pubs.opengroup.org/onlinepubs/9699919799.2008edition pubs.opengroup.org/onlinepubs/9699919799.2013edition and pubs.opengroup.org/onlinepubs/9699919799.2016edition for the various editions (technical corrigenda) of POSIX.1-2008 (best for linking in unix.se answers as links (anchors especially) may change when a new edition comes out). And add/download
to those URLs to download the full HTML text as atar
file.
– Stéphane Chazelas
Jan 26 '17 at 23:21
add a comment |
up vote
3
down vote
up vote
3
down vote
The change history for the POSIX.1-2008 standard is included in the Rationale volume.
The Rationale for the Base Definitions contains links to the change history for the System Interfaces and the Shell and Utilities.
Each entry (utility or interface) also has a CHANGE HISTORY section towards the bottom of the individual entries.
The full standard is available here: http://pubs.opengroup.org/onlinepubs/9699919799/nframe.html
The change history for the POSIX.1-2008 standard is included in the Rationale volume.
The Rationale for the Base Definitions contains links to the change history for the System Interfaces and the Shell and Utilities.
Each entry (utility or interface) also has a CHANGE HISTORY section towards the bottom of the individual entries.
The full standard is available here: http://pubs.opengroup.org/onlinepubs/9699919799/nframe.html
answered Jan 26 '17 at 12:55
Kusalananda
117k16221359
117k16221359
See also pubs.opengroup.org/onlinepubs/9699919799.2008edition pubs.opengroup.org/onlinepubs/9699919799.2013edition and pubs.opengroup.org/onlinepubs/9699919799.2016edition for the various editions (technical corrigenda) of POSIX.1-2008 (best for linking in unix.se answers as links (anchors especially) may change when a new edition comes out). And add/download
to those URLs to download the full HTML text as atar
file.
– Stéphane Chazelas
Jan 26 '17 at 23:21
add a comment |
See also pubs.opengroup.org/onlinepubs/9699919799.2008edition pubs.opengroup.org/onlinepubs/9699919799.2013edition and pubs.opengroup.org/onlinepubs/9699919799.2016edition for the various editions (technical corrigenda) of POSIX.1-2008 (best for linking in unix.se answers as links (anchors especially) may change when a new edition comes out). And add/download
to those URLs to download the full HTML text as atar
file.
– Stéphane Chazelas
Jan 26 '17 at 23:21
See also pubs.opengroup.org/onlinepubs/9699919799.2008edition pubs.opengroup.org/onlinepubs/9699919799.2013edition and pubs.opengroup.org/onlinepubs/9699919799.2016edition for the various editions (technical corrigenda) of POSIX.1-2008 (best for linking in unix.se answers as links (anchors especially) may change when a new edition comes out). And add
/download
to those URLs to download the full HTML text as a tar
file.– Stéphane Chazelas
Jan 26 '17 at 23:21
See also pubs.opengroup.org/onlinepubs/9699919799.2008edition pubs.opengroup.org/onlinepubs/9699919799.2013edition and pubs.opengroup.org/onlinepubs/9699919799.2016edition for the various editions (technical corrigenda) of POSIX.1-2008 (best for linking in unix.se answers as links (anchors especially) may change when a new edition comes out). And add
/download
to those URLs to download the full HTML text as a tar
file.– Stéphane Chazelas
Jan 26 '17 at 23:21
add a comment |
up vote
2
down vote
Man pages describe how the system actually functions, not how a standards body N years after the OS came out changed the standard. If Red Hat chose to ship POSIX 2003 man pages with their OS, I take that as meaning that's the closest POSIX standard to what they shipped.
I would leave the OS-provided POSIX man pages alone, but download the current versions, install them somewhere else like /usr/local/linux-man-pages/share/man
, then put that directory into your MANPATH
.
If you rename the p
pages to have some other tag — say, pc
for "POSIX current" — you can query them separately from the OS-provided ones. For example, you could use a tool like mmv
:
$ mmv 'man1p/*.1p.gz' 'man1p/#1.1pc.gz'
$ mv man1p man1pc
... do the same for man 2p, etc ...
$ man ls # shows GNU ls page
$ man 1p ls # shows OS-provided POSIX ls page
$ man 1pc ls # shows current POSIX ls page
Either remove the non-POSIX man pages that conflict with the OS-provided ones, or tag them similarly if you also want to be able to refer to current Linux-specific man pages. You could use lc
for "Linux current", for example.
add a comment |
up vote
2
down vote
Man pages describe how the system actually functions, not how a standards body N years after the OS came out changed the standard. If Red Hat chose to ship POSIX 2003 man pages with their OS, I take that as meaning that's the closest POSIX standard to what they shipped.
I would leave the OS-provided POSIX man pages alone, but download the current versions, install them somewhere else like /usr/local/linux-man-pages/share/man
, then put that directory into your MANPATH
.
If you rename the p
pages to have some other tag — say, pc
for "POSIX current" — you can query them separately from the OS-provided ones. For example, you could use a tool like mmv
:
$ mmv 'man1p/*.1p.gz' 'man1p/#1.1pc.gz'
$ mv man1p man1pc
... do the same for man 2p, etc ...
$ man ls # shows GNU ls page
$ man 1p ls # shows OS-provided POSIX ls page
$ man 1pc ls # shows current POSIX ls page
Either remove the non-POSIX man pages that conflict with the OS-provided ones, or tag them similarly if you also want to be able to refer to current Linux-specific man pages. You could use lc
for "Linux current", for example.
add a comment |
up vote
2
down vote
up vote
2
down vote
Man pages describe how the system actually functions, not how a standards body N years after the OS came out changed the standard. If Red Hat chose to ship POSIX 2003 man pages with their OS, I take that as meaning that's the closest POSIX standard to what they shipped.
I would leave the OS-provided POSIX man pages alone, but download the current versions, install them somewhere else like /usr/local/linux-man-pages/share/man
, then put that directory into your MANPATH
.
If you rename the p
pages to have some other tag — say, pc
for "POSIX current" — you can query them separately from the OS-provided ones. For example, you could use a tool like mmv
:
$ mmv 'man1p/*.1p.gz' 'man1p/#1.1pc.gz'
$ mv man1p man1pc
... do the same for man 2p, etc ...
$ man ls # shows GNU ls page
$ man 1p ls # shows OS-provided POSIX ls page
$ man 1pc ls # shows current POSIX ls page
Either remove the non-POSIX man pages that conflict with the OS-provided ones, or tag them similarly if you also want to be able to refer to current Linux-specific man pages. You could use lc
for "Linux current", for example.
Man pages describe how the system actually functions, not how a standards body N years after the OS came out changed the standard. If Red Hat chose to ship POSIX 2003 man pages with their OS, I take that as meaning that's the closest POSIX standard to what they shipped.
I would leave the OS-provided POSIX man pages alone, but download the current versions, install them somewhere else like /usr/local/linux-man-pages/share/man
, then put that directory into your MANPATH
.
If you rename the p
pages to have some other tag — say, pc
for "POSIX current" — you can query them separately from the OS-provided ones. For example, you could use a tool like mmv
:
$ mmv 'man1p/*.1p.gz' 'man1p/#1.1pc.gz'
$ mv man1p man1pc
... do the same for man 2p, etc ...
$ man ls # shows GNU ls page
$ man 1p ls # shows OS-provided POSIX ls page
$ man 1pc ls # shows current POSIX ls page
Either remove the non-POSIX man pages that conflict with the OS-provided ones, or tag them similarly if you also want to be able to refer to current Linux-specific man pages. You could use lc
for "Linux current", for example.
edited Jan 27 '17 at 4:47
answered Jan 26 '17 at 23:12
Warren Young
54.2k9142145
54.2k9142145
add a comment |
add a comment |
up vote
0
down vote
zipped versions of the HTML for grepping
- http://pubs.opengroup.org/onlinepubs/9699919799/download/
- http://pubs.opengroup.org/onlinepubs/9699919799/download/susv4tc2.zip
Those are useful when you start wanting to grep for things, without paying for the PDF.
add a comment |
up vote
0
down vote
zipped versions of the HTML for grepping
- http://pubs.opengroup.org/onlinepubs/9699919799/download/
- http://pubs.opengroup.org/onlinepubs/9699919799/download/susv4tc2.zip
Those are useful when you start wanting to grep for things, without paying for the PDF.
add a comment |
up vote
0
down vote
up vote
0
down vote
zipped versions of the HTML for grepping
- http://pubs.opengroup.org/onlinepubs/9699919799/download/
- http://pubs.opengroup.org/onlinepubs/9699919799/download/susv4tc2.zip
Those are useful when you start wanting to grep for things, without paying for the PDF.
zipped versions of the HTML for grepping
- http://pubs.opengroup.org/onlinepubs/9699919799/download/
- http://pubs.opengroup.org/onlinepubs/9699919799/download/susv4tc2.zip
Those are useful when you start wanting to grep for things, without paying for the PDF.
answered Nov 21 at 13:00
Ciro Santilli 新疆改造中心 六四事件 法轮功
4,70824038
4,70824038
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f340285%2finstall-the-latest-posix-man-pages%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
For OpenBSD users: The POSIX "IEEE Std 1003.1-2008/Cor 1-2013" manual pages are available in the
books/man-pages-posix
port.– Kusalananda
Jan 26 '17 at 12:31