Questions tagged [manpage]

Man pages are the documentation pages that come preinstalled with almost all substantial Unix and Unix-like operating systems

https://en.wikipedia.org/wiki/Man_page

486 questions
13
votes
3 answers

man sections

How do I access specific sections of man pages?
kajaco
  • 2,547
  • 3
  • 24
  • 33
13
votes
1 answer

Missing man pages in Cygwin for system calls

I installed the cygwin-doc package when installing cygwin, apart from C/C++ development packages. When I run 'man memset', I get the man page as expected, but running man for system calls like lstat and pipe returns with the complaint 'No manual…
user3569483
  • 131
  • 1
  • 4
12
votes
1 answer

Install python package man pages with pip

I maintain a custom-compiled Python installation in /opt/python-2.7.6. I expect man pages to be installed in share/man. I have installed several libraries already using pip (numpy, scipy, matplotlib, sympy). I'm not sure if they should come with man…
Kit
  • 30,365
  • 39
  • 105
  • 149
12
votes
2 answers

Escaping dots in groff

According to info groff (section 5.11 Character Translations), \. should print just the dot. However, this is not what seems to happen. If I render this manpage .TH x x x x \.SH foo I get foo rendered as a section heading, and .SH is not…
Roman Cheplyaka
  • 37,738
  • 7
  • 72
  • 121
11
votes
3 answers

PROGNAME(x) references in manpages -- What does the digit in ()s mean?

Possible Duplicate: Why do programs in Unix-like environments have numbers after their name? I have seen several programs, such as GREP(3) and PING(8), listed in manpages. What is the significance of the digit in ()s?
Billy ONeal
  • 104,103
  • 58
  • 317
  • 552
11
votes
2 answers

strcmp() return different values for same string comparisons

char s1[] = "0"; char s2[] = "9"; printf("%d\n", strcmp(s1, s2)); // Prints -9 printf("%d\n", strcmp("0", "9")); // Prints -1 Why do strcmp returns different values when it receives the same parameters ? Those values are still legal since…
Bilow
  • 2,194
  • 1
  • 19
  • 34
11
votes
3 answers

Quick search of command options in bash

I found myself in a situation where I constantly look for parameters of a command in bash. For instance, find -type f -name '*py' -print0. In order to find all of those I need to go through man,info, or --help option which is laborious and time…
Sergey Ivanov
  • 3,719
  • 7
  • 34
  • 59
11
votes
0 answers

Can Doxygen be coerced into creating decent man pages?

I started out looking for a way to generate man pages from source code. I now have Doxygen setup, and it generates awesome HTML pages which are organized, helpful, etc. But... it seems Doxygen sucks at creating decent or usable man pages. From…
Stéphane
  • 19,459
  • 24
  • 95
  • 136
10
votes
3 answers

How do you man cpp functions?

For example,how do you man std::sort? My tries seems not on the right track. UPDATE yum install libstdc++-docs gives me No package libstdc++-docs available
wireshark
  • 1,295
  • 2
  • 14
  • 20
10
votes
1 answer

Darwin/Reference Manual Pages Missing

FOREWORD: This question is in regards to essential manpages that have seemingly disappeared from the internet. This is not a request to recommend or find a book, tool, software library, tutorial or other off-site resource. Apple has either…
l'L'l
  • 44,951
  • 10
  • 95
  • 146
10
votes
1 answer

What is the difference between multiple man pages of the same command?

I started to learn socket programming for C / C++ and examining the man pages for functions like bind, listen etc. While I was navigating between man pages, I noticed there are situations that there are multiple man pages for the same system call,…
SercioSoydanov
  • 980
  • 10
  • 29
10
votes
2 answers

Is it good to use exit() instead of fcloseall() for closing multiple files?

The man page of exit says, All open stdio streams are flushed and closed. Files created by tmpfile are removed. Parameters of exit i.e EXIT_SUCCESS and EXIT_FAILURE are slightly more portable (to non-UNIX environments) than the use of 0 and…
S D
  • 121
  • 1
  • 8
10
votes
1 answer

What is the meaning of the number in parens after the names of shell commands in the title of a manpage?

I see these numbers everywhere. For example, on this page: http://linux.die.net/man/1/tar What is the meaning of the number - 1 in tar(1) ? I have seen 2, 5, etc also.
euphoria83
  • 14,768
  • 17
  • 63
  • 73
9
votes
3 answers

What tools are available to edit manpages, i.e. GUI WYSIWYG editors (any platform)

Is there any decent GUI(Graphical User Interface) WYSIWYG(What You See is What You Get) editor (on any platform) that can be used for authoring/editing manpages? An app that can export to the troff format would also be fine.
HairOfTheDog
  • 2,489
  • 2
  • 29
  • 35
9
votes
1 answer

How does man find git's subcommand manpages?

On my linux system, I can do "man git log" (note the space), and this will show me the manpage for git-log(1) (with a dash), as expected. On my MacOSX machine, "man git log" only shows the manual page for git(1). How does the linux man know that the…
1 2
3
32 33