Questions tagged [man]
man - format and display the on-line manual pages ("on-line" meaning “on the computer”, as opposed to “on paper”, not “on the Internet”)
645 questions
3 votes
2 answers
143 views
Creating a text file from man page including pagination
I want to create a text file of a man page that includes pagination. This will allow later to send to a legacy line/matrix printer. This implies that the command header and footer will be repeated in ...
-1 votes
2 answers
90 views
Are there any basic Python documentation man pages?
I occasionally use Python and so I forget semantics of basic language constructs. Is there an apt package to install man page of basic Python documentation? My Linux Mint comes only with help of ...
4 votes
5 answers
2k views
Can I make my own example-containing man page?
I'd like to have an additional "man" page for grep, containing examples that I would use (but don't always remember).
-3 votes
1 answer
177 views
bash -n is a not documented in manpages or info documents [closed]
Even though bash -n is a valid and widely used option, some manpages don't clearly document it in the bash options section, even though it is implemented. It's also not in the GNU Bash Reference ...
12 votes
2 answers
999 views
Debian Bookworm always sets `COLUMNS` to be a little less than the actual terminal width
On Debian Bookworm, the $COLUMNS bash variable is always a little smaller than the actual terminal width. This leaves a little space on the right side whenever I run a program that runs through less, ...
8 votes
1 answer
939 views
Customize the man command's status prompt to show percentage read
I like the man command's status prompt to be customized. The default as picked from its own man page is like this, Manual page name(sec) line x But, having it show me the percentage of contents read ...
1 vote
1 answer
220 views
Manpage of 'regex(7)', from the shell
Today I have read two answers about which regular expressions are supported by less: Where is less search pattern reference? Kusalananda mentioned re_format(7) and referenced its manpage as man 7 ...
6 votes
1 answer
411 views
Is groff ignoring `.nh` command?
For a man page written in POD (perlpod) I had the effect that the SYNOPSIS was left-adjusted on the text terminal, but the PostScript output (read: troff) adjusted the text to both borders. So I tried ...
1 vote
1 answer
66 views
How do I append an option argument to the flag without spaces?
I am writing a program manual in mdoc(7). One example of my programs has this synopsis: parsrc.sh [-lf<s>] [CSV_file] Taken from ShellShoccar-jpn/Parsrs/parsrc.sh For example if you run parsrc....
4 votes
1 answer
309 views
Word split between two lines is not found in man pages search
I'm on Linux Mint 21 (Ubuntu based). Just noted man pages internal search (/) does not find a word if split between two lines (the word is whole in the source of the page, displayed with a hyphen and ...
0 votes
0 answers
125 views
How to speed up full man DB search?
man-db's man --global-apropos/man -k is slow. man --global-apropos --where RestrictNamespaces takes around 30 seconds on a fairly beefy laptop with an NVMe. Compare to find $(manpath | tr : '\n') -...
1 vote
1 answer
109 views
Is it possible to create a alias to a man page?
On my macOS system I have installed gcc-14 with Homebrew. On a shell that has access to the files, I can open a man page for the GCC compiler with man gcc-14. I would like to write a script that ...
0 votes
1 answer
997 views
How does the credit system work in pam_pwquality?
Something has been really bugging me in he manual for the pam module pwquality (see man pwquality.conf). I quote: minlen Minimum acceptable size for the new password (plus one if ...
1 vote
1 answer
253 views
coreutils man pages are missing in WSL Fedora
I installed Fedora 39 on WSL, but I ran into some issues when I tried using man. When I used the man command, I was getting no manual entry for ... I had to remove tsflags=nodocs from /etc/dnf/dnf....
1 vote
1 answer
475 views
GREP error: warning: cannot select font 'i'
I am in the process of learning the usage of iscsiadm and somehow I noticed a strange behavior of grep. Attempting to run the following grep command man iscsiadm | grep "aia" results in ...