Man pages are the documentation pages that come preinstalled with almost all substantial Unix and Unix-like operating systems
Questions tagged [manpage]
486 questions
2
votes
0 answers
man page with complex name
I'm writing man pages for my Tcl library, one file per command. Command names contain ::, for example mypackage::mycommand.
I'd like to call proper man page by following command: man mypackage::mycommand. For this purpose corresponding man file is…

Andrey
- 3,667
- 6
- 27
- 36
2
votes
2 answers
How do I view Markdown file like a man page without making a temporary file?
I'd like to read Markdown files like man pages. I can do this:
pandoc README.md -t man --standalone > tmp_file && man ./tmp_file
However, I'd like to do this without creating a temporary file. I tried:
man <(pandoc README.md -t man…

Ashton Wiersdorf
- 1,865
- 12
- 33
2
votes
0 answers
GLX manual pages under OS X
I am running OS X 10.11 and am doing some X11 OpenGL programming. I can access X11 man pages as well as OpenGL man pages using commands like this:
man XCreateWindow
man glVertex
However, when I try to access man pages for GLX, nothing comes up. I…

user109923
- 65
- 7
2
votes
2 answers
Bash - grep command inconsistent with man page
I am trying to understand and read the man page. Yet everyday I find more inconsistent syntax and I would like some clarification to whether I am misunderstanding something.
Within the man page, it specifies the syntax for grep is grep [OPTIONS] [-e…

J.Doe
- 21
- 4
2
votes
1 answer
Why does grepping the same manpage sometimes results in an error?
The exact same command:
man curl | grep -Pzo 'EXIT CODES(.|\n)*AUTHORS' | grep ' 6 '
sometimes gives the expected output:
6 Couldn't resolve host. The given remote host was not resolved.
and sometimes gives the error:
Binary file…

Dean Rather
- 31,756
- 15
- 66
- 72
2
votes
0 answers
Install full version of manpages on macOS
some tools such as nm have no manpages on macOS
for example:
$ man nm
No manual entry for nm
but online manpage is available from Apple:
https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man1/nm.1.html
according to…

user2261465
- 29
- 2
2
votes
1 answer
How do I fix "ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored"?
When I watch the documentation for clang-formatter, on the top of the Man page, I see the following.
CLANG-FORMAT(1) User Commands CLANG-FORMAT(1)
NAME
…

apaderno
- 28,547
- 16
- 75
- 90
2
votes
2 answers
How to use the command man in linux to get the manual of the libraries used by C?
I have tried to get the manual for the function stdint.h typing $ man stdint and $ man 3 stdint but doesn't work. I get nothing. And I have tried the same for some of their functions like int8_t but I still getting nothing.
Although I am able to…

Aaron-S
- 61
- 4
2
votes
0 answers
Display contents of text file in man page without formatting
I'm working on an Open Source contribution. I need to use its print_usage() function which contains printf() statements for help message (myprogram --help) to generate manpage using myprogram --man automatically. I've setup command line args to use…

Mayank Gupta
- 23
- 3
2
votes
0 answers
xsltproc switches not traversing to xi:included files
I have been trying to compile systemd on my LFS based system and am having an issue with the man page creation.
There are multiple files with the issue but I shall focus on one in particular as a solution should then be
easy enough to…

grail
- 914
- 6
- 14
2
votes
0 answers
open function in Linux Programmer Guide
In Linux Programmer Guide(man 2)(left), there is two open function like c++ overload but in POSIX programmer guide(man 3)(right) there is one. What does it mean?
user4612022
2
votes
1 answer
man page with list of posix signals?
Is there a man page with the list of posix signals?
On Linux, neither kill nor signal man pages have the list, nor was I able to find an enum definition on /usr/include.

xvan
- 4,554
- 1
- 22
- 37
2
votes
1 answer
Why isn't `execlp()` in the system call section
I noticed that the entry for execlp() is not in the system call (2) section of the man pages, but instead resides in section (3), subroutines. Why is this, while fork() resides in section (2)?
Here are the…

Bist
- 75
- 4
2
votes
0 answers
What are the implications and usage guidelines for strsep's obseletion of strtok?
The (BSD) man pages for strtok state in the first line under description
This interface is obsoleted by strsep(3).
Does that mean that strtok should on the whole not be used? It does not provide any usage guidelines about strtok's being obsolete…

Eli Sadoff
- 7,173
- 6
- 33
- 61
2
votes
1 answer
How would I format a list of options in restructured text that shall be rendered as man page with Sphinx?
I'm planning to write the documentation of a command line tool as restructuredtext. I'm using Sphinx to render the docs. Beside the html target I want to use the man target, in oder to supply docs that can be read in a terminal.
Though I found the…

funky-future
- 3,716
- 1
- 30
- 43