Man pages are the documentation pages that come preinstalled with almost all substantial Unix and Unix-like operating systems
Questions tagged [manpage]
486 questions
0
votes
1 answer
Moving man pages with ruby and homebrew
To my understanding there is prefix.install 'name' and bin.install that install a file at the location of /usr/local/Cellar/ and the other the bin.
However I want to move a manual page of my script to /usr/local/share/man/man1, how would i go about…

Nyein Chan Aung
- 1
- 2
0
votes
1 answer
How does grep uses beginning and ending of lines
I want to read about one option in man page of gcc. So i did man gcc | grep -- '^-c'. The error was troff - cant break line, because I have terminal on the half on my screen. But I fixed that with declaration of MANWIDTH=1000 man gcc | grep --…

Herdsman
- 799
- 1
- 7
- 24
0
votes
1 answer
`man` not respecting `MANPAGER` unless it's invoked explicitly
I'm on Mac OS, using GNU Bash and GNU man-db, and I have my MANPAGER set to most.
$ uname
Darwin
$ bash --version
GNU bash, version 5.0.11(1)-release (x86_64-apple-darwin19.0.0)
...
$ man --version
man 2.8.5
$ echo $MANPAGER
most
When I invoke man…

Fried Brice
- 769
- 7
- 20
0
votes
1 answer
How to change man page section of debian software?
The package's manual page is in section 1 but I want it in section 8. What kind of changes do I have to do in git?
I tried renaming the package.1 file to package.8, but it did not help at least when I created the package by dpkg-buildpackage.

jarno
- 787
- 10
- 21
0
votes
1 answer
Where is documentation of switch options for apache2ctl command?
I can run apache2ctl -S on my debian box and it outputs information about the virtual hosts on the server and other information.
However, when I issue man apache2ctl on my debian box, I don't see any documentation for the the -S switch or any other…

StevieD
- 6,925
- 2
- 25
- 45
0
votes
1 answer
How can I find the man page for compress-cli?
I am trying to run the cli made for compress,
compress -i /Users/antoniopavicevac-ortiz/Sites/jcb-image-optimization/src -o /Users/antoniopavicevac-ortiz/Sites/jcb-image-optimization/dist/images
But got back:
compress: illegal option -- i usage:…

Antonio Pavicevac-Ortiz
- 7,239
- 17
- 68
- 141
0
votes
1 answer
why is getenv MT-safe in man page?
In POSIX.1-2017:
The getenv() function need not be thread-safe.
But, in man page, the genenv is MT-Safe env.
│Interface │ Attribute │ Value │
│getenv(), secure_getenv() │ Thread safety │ MT-Safe env │
However,
The …

xiao xiao
- 21
- 2
0
votes
2 answers
extraneous space around italics and bolds in manpage?
I am writing a man page. I am displaying only with man -l filename.man.
I am running into an issue where my text is displaying as:
file/path/[ option ]
Where I would like it to display as:
file/path/[option].
The offending lines of text (code?) look…

jsarbour
- 928
- 1
- 8
- 20
0
votes
1 answer
How to escape double backslashes so I can get "\\" in man page?
For example, my foo.adoc file looks like this:
= foo(1)
== NAME
foo - hello world
== SYNOPSIS
foo ...
== DESCRIPTION
\\ | \\\ | \\\\ | {backslash}{backslash}
But after asciidoctor -b manpage foo.adoc and man ./foo.1 would produce:
FOO(1) …

pynexj
- 19,215
- 5
- 38
- 56
0
votes
2 answers
Grep not matching certain parts of man page
Grep doesn't seem to match certain strings from man output. It seems to be random in that I can't work out any rhyme or reason as to whether a string will match or not.
man sed | head -7:
SED(1) BSD General Commands Manual …

Trav Easton
- 401
- 2
- 6
- 17
0
votes
1 answer
"No manual entry for [filename]" error, when trying to view my man page
I'm creating a man page with Vim for something I made, but when I try to view it with the command:
man testScript.1
I get the error "No manual Entry testScript.1"
However, if I use:
cat *testScript.1
I can see the contents of that file…

hackerNuB
- 13
- 7
0
votes
1 answer
Use of .sa_sigaction and .sa_handler in same project(man page clarification)
While looking up the man pages for sigaction, I stumbled upon a confusing note in the Linux man pages:
On some architectures a union is involved: do not assign to both
sa_handler and sa_sigaction(sigaction man page).
There are two possible ways…

J.Panek
- 425
- 5
- 16
0
votes
1 answer
Redirecting man to a file it is not identical to the text in the console
I am trying to print the man page for ls and I am getting output in my file with repeated characters. I am relatively new to bash and I dont know where to start with this issue.
This is the command I typed
man ls | cat > file.txt
I expected output…

Walker Firmin
- 53
- 6
0
votes
1 answer
Resource for writing assembly[shellcode]
I am writing assembly[shellcode] for i386 linux. I wanted to know if there are any man pages or cheats sheets to see which registers need to be set-up for the calls[ read, write, execve] to be made.

cRAYonhere
- 47
- 1
- 10
0
votes
1 answer
.Bl, .It to render list in mandoc doesn't work on both macOS and Ubuntu 16.04
I try to use a proper macro like .Bl with its .It to render list in mandoc (or per say man page) with the following syntax (as seen in mdoc.7)
The arguments are as follows:
.Bl -tag -width Ds
.It Fl v
Print verbose information.
.El
Tried both…

haxpor
- 2,431
- 3
- 27
- 46