Print this page
11622 clean up rarer mandoc lint warnings
*** 46,64 ****
.\"
.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]
[\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
--- 46,62 ----
.\"
.TH LOCALEDEF 1 "April 9, 2016"
.SH NAME
localedef \- define locale environment
.SH SYNOPSIS
.nf
! \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
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,135 ****
.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
--- 123,132 ----
*** 209,219 ****
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
--- 206,215 ----
*** 226,248 ****
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
--- 222,241 ----
*** 292,302 ****
.RS 4n
The directory containing locale data.
.RE
.SH ATTRIBUTES
- .LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.sp
.TS
--- 285,294 ----
*** 307,322 ****
_
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
--- 299,312 ----
*** 331,341 ****
.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
--- 321,330 ----