1) Use a single capital font macro for a genuine single argument.
The output is unchanged.
2) Remove quotation marks (") around a single argument.
The output is unchanged.
3) Change ".IR ab()" to ".IR ab ()"
A font is changed in the output.
mtk: I verified that the output is unchanged (other than fonts)
by comparing the output of:
for a in *.1; do man $a >> out.txt; done
before and after the patch.
Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
.SH NAME
getent \- get entries from Name Service Switch libraries
.SH SYNOPSIS
-.BR getent\ [\fIoption\fP]...\ \fIdatabase\fP\ \fIkey\fP...
+.B getent\ [\fIoption\fP]...\ \fIdatabase\fP\ \fIkey\fP...
.SH DESCRIPTION
The
.B getent
for output characters.
.IP
If the string
-.BR //IGNORE
+.B //IGNORE
is appended to
.IR to-encoding ,
characters that cannot be converted are discarded and an error is
printed after conversion.
.IP
If the string
-.BR //TRANSLIT
+.B //TRANSLIT
is appended to
.IR to-encoding ,
characters being converted are transliterated when needed and possible.
Instead,
.BR iconv_open (3)
first tries to load the configuration files by searching the directories in
-.BR GCONV_PATH
+.B GCONV_PATH
in order,
followed by the system default gconv module configuration file.
If a directory does not contain a gconv module configuration file,
.BR ld.so (8))
and load the objects that satisfy those dependencies.
For each dependency,
-.BR ldd
+.B ldd
displays the location of the matching object
and the (hexadecimal) address at which it is loaded.
(The
.\" Much more detail at
.\" http://www.catonmat.net/blog/ldd-arbitrary-code-execution/
some versions of
-.BR ldd
+.B ldd
may attempt to obtain the dependency information
by attempting to directly execute the program,
which may lead to the execution of whatever code is defined
or
.IR decimal_point )
or locale categories (for example,
-.BR LC_CTYPE
+.B LC_CTYPE
or
.BR LC_TIME ).
For each argument, the following is displayed:
.BR \-? ", " \-\-help
Display a summary of command-line options and arguments and exit.
.TP
-.BR \-\-usage
+.B \-\-usage
Display a short usage message and exit.
.TP
.BR \-V ", " \-\-version
.br
.B "localedef \-\-add\-to\-archive"
.RI [ options ]
-.IR compiledpath
+.I compiledpath
.br
.B "localedef \-\-version"
.br
of the collected data.
.SS Memory usage summary
The "Memory usage summary" line output by
-.BR memusage
+.B memusage
contains three fields:
.RS 4
.TP
Generate binary data file and store it in
.IR file .
.TP
-.BI \-u\fR,\ \fB\-\-unbuffered
+.B \-u\fR,\ \fB\-\-unbuffered
Do not buffer output.
.TP
.BI \-b\ size \fR,\ \fB\-\-buffer= size
.I size
entries before writing them out.
.TP
-.BI \fB\-\-no-timer
+.B \fB\-\-no-timer
Disable timer-based
.RB ( SIGPROF )
sampling of stack pointer value.
.TP
-.BI \-m\fR,\ \fB\-\-mmap
+.B \-m\fR,\ \fB\-\-mmap
Also trace
.BR mmap (2),
.BR mremap (2),
and
.BR munmap (2).
.TP
-.BI \-?\fR,\ \fB\-\-help
+.B \-?\fR,\ \fB\-\-help
Print help and exit.
.TP
-.BI \fB\-\-usage
+.B \-\-usage
Print a short usage message and exit.
.TP
-.BI \-V\fR,\ \fB\-\-version
+.B \-V\fR,\ \fB\-\-version
Print version information and exit.
.TP
The following options apply only when generating graphical output:
.TP
-.BI \-t\fR,\ \fB\-\-time\-based
+.B \-t\fR,\ \fB\-\-time\-based
Use time (rather than number of function calls) as the scale for the X axis.
.TP
-.BI \-T\fR,\ \fB\-\-total
+.B \-T\fR,\ \fB\-\-total
Also draw a graph of total memory use.
.TP
.BI \fB\-\-title= name
.I string
as the title inside the output graph.
.TP
-.BI \-t\fR,\ \fB\-\-time
+.B \-t\fR,\ \fB\-\-time
Use time (rather than number of function calls) as the scale for the X axis.
.TP
-.BI \-T\fR,\ \fB\-\-total
+.B \-T\fR,\ \fB\-\-total
Also draw a graph of total memory consumption.
.TP
.BI \-x\ size \fR,\ \fB\-\-x-size= size
.I size
pixels high.
.TP
-.BI \-?\fR,\ \fB\-\-help
+.B \-?\fR,\ \fB\-\-help
Print a help message and exit.
.TP
-.BI \fB\-\-usage
+.B \-\-usage
Print a short usage message and exit.
.TP
-.BI \-V\fR,\ \fB\-\-version
+.B \-V\fR,\ \fB\-\-version
Print version information and exit.
.SH BUGS
To report bugs, see
.BR \-? ", " \-\-help
Display program help message.
.TP
-.BR \-\-usage
+.B \-\-usage
Display a short usage message.
.TP
.BR \-V ", " \-\-version
.I "info shared"
command also shows the shared libraries being used by a process,
so that one can obtain similar output to
-.BR pldd
+.B pldd
using a command such as the following
(to monitor the process with the specified
.IR pid ):
.B sprof
will attempt to deduce it using the soname of the shared object,
looking for a file with the name
-.IR <soname>.profile
+.I <soname>.profile
in the current directory.
.SH OPTIONS
The following command-line options specify the profile output
.BR \-? ", " \-\-help
Display a summary of command-line options and arguments and exit.
.TP
-.BR \-\-usage
+.B \-\-usage
Display a short usage message and exit.
.TP
.BR \-V ", " \-\-version
.in
.PP
The functions
-.IR x1()
+.IR x1 ()
and
-.IR x2()
+.IR x2 ()
are defined in the following source file that is used to
construct the shared object:
.PP
.PP
In order to get profiling information for the shared object,
we define the environment variable
-.BR LD_PROFILE
+.B LD_PROFILE
with the soname of the library:
.PP
.in +4n
.in
.PP
We then define the environment variable
-.BR LD_PROFILE_OUTPUT
+.B LD_PROFILE_OUTPUT
with the pathname of the directory where profile output should be written,
and create that directory if it does not exist already:
.PP
.in
.PP
We then use the
-.BR "sprof \-p"
+.B sprof \-p
option to generate a flat profile with counts and ticks:
.PP
.in +4n
.in
.PP
The
-.BR "sprof \-q"
+.B sprof \-q
option generates a call graph:
.PP
.in +4n
.IR main() ).
.PP
The
-.BR "sprof \-c"
+.B sprof \-c
option generates a list of call pairs and the number of their occurrences:
.PP
.in +4n
.BR LC_MESSAGES ,
.BR LC_NUMERIC ,
and
-.BR NLSPATH
+.B NLSPATH
are used for the text and formatting of the output.
.B PATH
is used to search for