Xaf

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

bpages option.

$ man -aw --no-subpages git diff


/usr/share/man/man1/git.1.gz
/usr/share/man/man3/Git.3pm.gz
/usr/share/man/man1/diff.1.gz

Controlling formatted output


-P pager, --pager=pager
Specify which output pager to use. By default, man uses pager,
falling back to cat if pager is not found or is not executable.
This option overrides the $MANPAGER environment variable, which
in turn overrides the $PAGER environment variable. It is not
used in conjunction with -f or -k.

The value may be a simple command name or a command with argu‐


ments, and may use shell quoting (backslashes, single quotes, or
double quotes). It may not use pipes to connect multiple com‐
mands; if you need that, use a wrapper script, which may take
the file to display either as an argument or on standard input.

-r prompt, --prompt=prompt
If a recent version of less is used as the pager, man will at‐
tempt to set its prompt and some sensible options. The default
prompt looks like

Manual page name(sec) line x

where name denotes the manual page name, sec denotes the section
it was found under and x the current line number. This is
achieved by using the $LESS environment variable.

Supplying -r with a string will override this default. The


string may contain the text $MAN_PN which will be expanded to
the name of the current manual page and its section name sur‐
rounded by "(" and ")". The string used to produce the default
could be expressed as

\ Manual\ page\ \$MAN_PN\ ?ltline\ %lt?L/%L.:


byte\ %bB?s/%s..?\ (END):?pB\ %pB\\%..
(press h for help or q to quit)

It is broken into three lines here for the sake of readability


only. For its meaning see the less(1) manual page. The prompt
string is first evaluated by the shell. All double quotes,
back-quotes and backslashes in the prompt must be escaped by a
preceding backslash. The prompt string may end in an escaped $
which may be followed by further options for less. By default
man sets the -ix8 options.

The $MANLESS environment variable described below may be used to


set a default prompt string if none is supplied on the command
line.

-7, --ascii
When viewing a pure ascii(7) manual page on a 7 bit terminal or
terminal emulator, some characters may not display correctly
when using the latin1(7) device description with GNU nroff.
This option allows pure ascii manual pages to be displayed in
ascii with the latin1 device. It will not translate any latin1
text. The following table shows the translations performed:
some parts of it may only be displayed properly when using GNU
nroff's latin1(7) device.

Description Octal latin1 ascii


──────────────────────────────────────────
continuation hy‐ 255 ‐ -
phen
bullet (middle 267 • o
dot)
acute accent 264 ´ '
multiplication 327 × x
sign

If the latin1 column displays correctly, your terminal may be


set up for latin1 characte

You might also like