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 '\033]0;%s@%s:%s\007' 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 '\033]0;%s@%s:%s\007' 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?)
books/man-pages-posix
port.