man sections
How do I access specific sections of man pages? ...
How do I access specific sections of man pages? ...
I like to generate man pages using '--help' output via help2man and txt2man. Ruby's RDoc system is very convenient, but I can't seem to configure RDoc::usage in exactly the way that I want. Here's a sample script: #!/usr/bin/env ruby # # === Name # # foobar - Example command for StackOverflow question # # === Synopsis # # Usage: fo...
Possible Duplicates: Why do programs in Unix-like environments have numbers after their name? Why do programs in Unix-like environments have numbers after their name? Duplicate: http://stackoverflow.com/questions/587676/why-do-programs-in-unix-like-environments-have-numbers-after-their-name Hello :) I have seen several pr...
How do I set an environment variable in C++? They do not need to persist past program execution They only need to be visible in the current process Preference for platform independent but for my problem only needs to work on Win32/64 Thanks ...
Given a FILE*, is it possible to determine the underlying type? That is, is there a function that will tell me if the FILE* is a pipe or a socket or a regular on-disk file? ...
How do I catch wrong array reference in C++? Why doesn't the following code work: #include <exception> int * problemNum = new int; int (* p [100])() = {problem1, problem2, problem3}; ... try { cout << (*p[*problemNum-1])(); } catch (exception){ cout << "No such problem"; } My compiler...
When I use `man fcntl' got the message: No manual entry for fcntl which the pkg is needed to install? ps. I use debian. ...
I'm looking for the windows executable for the linux man (manual reader). I tried googling around, but got frustrated with the kind of results it came up with, owing to 'man' being such a common phrase. I got results that read "man executed in texas..". So I look to the SO community now. Any clues? ...
When on MacOSX, "man glRotate" brings up the glRotate manpage. On ubuntu, with manpages-dev and manpages-posix-dev insatlled, "man glRotate" doesn't bring up the glRotate manpage (though I can build and compile gl apps). What am I missing? How do I setup this up? Thanks ...
Hi I've checked out some typical open source project which is using auto-tools. I want to hack a bit on this package, but I would also like to change something in the man-page of the package. The man-page source is found project-name/doc/project-name.1. I just made a small change, and now I want to preview that change, without having t...
The pthread_* manpages are really, really sparse in lots of areas; for instance, for all I can tell, the various pthread_attr_set* are completely undocumented — that is, I can’t figure out what each of the various types of attributes actually do! The only other useful sources of information I’ve found, than the manpages, are the famous ...
I would like to load some man pages onto my iPad in PDF format. I have very quickly put this together: #!/bin/bash output_directory="/Users/Shared/Local/Media/E-Books/Man_Pages/Mac_OS_X" man_pages_directory=/usr/share/man for man_pages_section in "${man_pages_directory}/man"?; do for man_page_path in "${man_pages_section}/"*; do ...
I am looking for some good examples / tutorials on how to generate, package, and install man pages in projects using CMake. Thanks. ...
I'm using Cygwin, and just discovered to my dismay that the package naming scheme is derived from Red Hat. I need the development man pages, called manpages-dev and manpages-posix-dev on Debian-based distros, and can't locate the Cygwin/RH equivalents. What are they? If they're not available, what's the canonical documentation to use in...
I ran into this question while typing man 2 open. It says that there are two kinds of open, one with two args, and one with three! last time i checked we could not overload functions in C. How did they do this? did they write in C++? int open(const char * pathname, int flags); int open(const char * pathname, int flags, mode_t mode); ...