Print this page
11622 clean up rarer mandoc lint warnings
@@ -46,19 +46,17 @@
.\"
.TH LOCALEDEF 1 "April 9, 2016"
.SH NAME
localedef \- define locale environment
.SH SYNOPSIS
-.LP
.nf
-\fBlocaledef\fR [\fB-c\fR] [\fB-v\fR] [\fB-U\fR\] [\fB-f\fR \fIcharmap\fR]
+\fBlocaledef\fR [\fB-c\fR] [\fB-v\fR] [\fB-U\fR] [\fB-f\fR \fIcharmap\fR]
[\fB-w\fR \fIwidthfile\fR] [\fB-i\fR \fIsourcefile\fR]
[\fB-u\fR \fIcode_set_name\fR] \fIlocalename\fR
.fi
.SH DESCRIPTION
-.LP
The \fBlocaledef\fR utility converts source definitions for locale categories
into a format usable by the functions and utilities whose operational behavior
is determined by the setting of the locale environment variables; see
\fBenviron\fR(5).
.sp
@@ -125,11 +123,10 @@
.RS 15n
Defines the format and values of affirmative and negative responses.
.RE
.SH OPTIONS
-.LP
The following options are supported:
.sp
.ne 2
.na
\fB\fB-c\fR\fR
@@ -209,11 +206,10 @@
and collating element symbols whose encoding values are defined in terms of the
ISO/IEC 10646-1: 2000 standard position constant values. See NOTES.
.RE
.SH OPERANDS
-.LP
The following operand is supported:
.sp
.ne 2
.na
\fB\fIlocalename\fR\fR
@@ -226,23 +222,20 @@
although several categories can be processed in one execution, only categories
belonging to the same locale can be processed.)
.RE
.SH OUTPUT
-.LP
\fBlocaledef\fR creates a directory of files that represents the locale's
data. The contents of this directory should generally be copied into the
appropriate subdirectory of /usr/lib/locale in order the definitions to
be visible to programs linked with libc.
.sp
.SH ENVIRONMENT VARIABLES
-.LP
See \fBenviron\fR(5) for definitions of the following environment variables
that affect the execution of \fBlocaledef\fR: \fBLANG\fR, \fBLC_ALL\fR,
\fBLC_COLLATE\fR, \fBLC_CTYPE\fR, \fBLC_MESSAGES\fR, and \fBNLSPATH\fR.
.SH EXIT STATUS
-.LP
The following exit values are returned:
.sp
.ne 2
.na
\fB\fB0\fR\fR
@@ -292,11 +285,10 @@
.RS 4n
The directory containing locale data.
.RE
.SH ATTRIBUTES
-.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.sp
.TS
@@ -307,16 +299,14 @@
_
Interface Stability Standard
.TE
.SH SEE ALSO
-.LP
\fBlocale\fR(1), \fBiconv_open\fR(3C), \fBnl_langinfo\fR(3C),
\fBstrftime\fR(3C), \fBattributes\fR(5), \fBcharmap\fR(5), \fBenviron\fR(5),
\fBextensions\fR(5), \fBlocale\fR(5), \fBstandards\fR(5)
.SH WARNINGS
-.LP
If warnings occur, permanent output will be created if the \fB-c\fR option was
specified. The following conditions will cause warning messages to be issued:
.RS +4
.TP
.ie t \(bu
@@ -331,11 +321,10 @@
.el o
If optional keywords not supported by the implementation are present in the
source.
.RE
.SH NOTES
-.LP
When the \fB-u\fR option is used, the \fIcode_set_name\fR option-argument is
interpreted as a name of a codeset to which the ISO/IEC 10646-1: 2000 standard
position constant values are converted. Both the ISO/IEC 10646-1: 2000 standard
position constant values and other formats (decimal, hexadecimal, or octal) are
valid as encoding values within the charmap file. The codeset can be any