| Age | Commit message (Collapse) | Author | Files | Lines |
|
These pages are not exactly what man3 typically contains, which is
library functions. Instead, types fit better in a subsection of
man3, and some UNIX systems have already a section 3type, so let's
use the same name.
Adapt the Makefile to work with this subsection. Except for the
Makefile, these changes are scripted.
Scripted changes:
$ find man3 -type f \
| grep '_t\.3$' \
| while read f; do
mv $f ${f}type;
done;
$ find man? -type f \
| xargs grep -l '^\.so.*_t\.3' \
| xargs sed -i '/^\.so/s/\.3$/\.3type/';
$ find man? -type f \
| xargs grep -l '^\.BR .*_t (3)' \
| xargs sed -i '/^\.BR .*_t (3)/s/3)/3type)/';
$ find man? -type f \
| grep -- '-struct\.[23]$' \
| while read f; do
g="$(echo $f | sed 's/-struct//')"type;
mv $f $g;
done;
$ find man? -type f \
| xargs grep -l '^\.so.*-struct\.[23]' \
| xargs sed -i -e '/^\.so/s/-struct//' -e '/^\.so/s/$/type/';
$ find man? -type f \
| xargs grep -l '^\.BR .*-struct (.)' \
| xargs sed -i -e '/^\.BR .*-struct (.)/s/\([23]\)/\1type/' \
-e '/^\.BR .*-struct /s/-struct//';
$ find man? -type f \
| grep -- '-union\.[23]$' \
| while read f; do
g="$(echo $f | sed 's/-union//')"type;
mv $f $g;
done;
$ find man? -type f \
| grep '3type' \
| xargs sed -i '/^\.TH/s/ 3 / 3type /';
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
|
|
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
|
|
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
|
|
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
|
|
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
|
|
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
|