Print this page
11622 clean up rarer mandoc lint warnings

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1/localedef.1
          +++ new/usr/src/man/man1/localedef.1
↓ open down ↓ 40 lines elided ↑ open up ↑
  41   41  .\"
  42   42  .\"
  43   43  .\" Copyright (c) 1992, X/Open Company Limited  All Rights Reserved
  44   44  .\" Portions Copyright (c) 2003, Sun Microsystems, Inc.  All Rights Reserved
  45   45  .\" Portions Copyright 2013 DEY Storage Systems, Inc.
  46   46  .\"
  47   47  .TH LOCALEDEF 1 "April 9, 2016"
  48   48  .SH NAME
  49   49  localedef \- define locale environment
  50   50  .SH SYNOPSIS
  51      -.LP
  52   51  .nf
  53      -\fBlocaledef\fR [\fB-c\fR] [\fB-v\fR] [\fB-U\fR\] [\fB-f\fR \fIcharmap\fR]
       52 +\fBlocaledef\fR [\fB-c\fR] [\fB-v\fR] [\fB-U\fR] [\fB-f\fR \fIcharmap\fR]
  54   53       [\fB-w\fR \fIwidthfile\fR] [\fB-i\fR \fIsourcefile\fR]
  55   54       [\fB-u\fR \fIcode_set_name\fR] \fIlocalename\fR
  56   55  .fi
  57   56  
  58   57  .SH DESCRIPTION
  59      -.LP
  60   58  The \fBlocaledef\fR utility converts source definitions for locale categories
  61   59  into a format usable by the functions and utilities whose operational behavior
  62   60  is determined by the setting of the locale environment variables; see
  63   61  \fBenviron\fR(5).
  64   62  .sp
  65   63  .LP
  66   64  The utility reads source definitions for one or more locale categories
  67   65  belonging to the same locale from the file named in the \fB-i\fR option (if
  68   66  specified) or from standard input.
  69   67  .sp
↓ open down ↓ 50 lines elided ↑ open up ↑
 120  118  .sp
 121  119  .ne 2
 122  120  .na
 123  121  \fB\fBLC_MESSAGES\fR\fR
 124  122  .ad
 125  123  .RS 15n
 126  124  Defines the format and values of affirmative and negative responses.
 127  125  .RE
 128  126  
 129  127  .SH OPTIONS
 130      -.LP
 131  128  The following options are supported:
 132  129  .sp
 133  130  .ne 2
 134  131  .na
 135  132  \fB\fB-c\fR\fR
 136  133  .ad
 137  134  .RS 23n
 138  135  Creates permanent output even if warning messages have been issued.
 139  136  .RE
 140  137  
↓ open down ↓ 63 lines elided ↑ open up ↑
 204  201  .na
 205  202  \fB\fB-u\fR \fIcode_set_name\fR\fR
 206  203  .ad
 207  204  .RS 23n
 208  205  Specifies the name of a codeset used as the target mapping of character symbols
 209  206  and collating element symbols whose encoding values are defined in terms of the
 210  207  ISO/IEC 10646-1: 2000 standard position constant values. See NOTES.
 211  208  .RE
 212  209  
 213  210  .SH OPERANDS
 214      -.LP
 215  211  The following operand is supported:
 216  212  .sp
 217  213  .ne 2
 218  214  .na
 219  215  \fB\fIlocalename\fR\fR
 220  216  .ad
 221  217  .RS 14n
 222  218  Identifies the locale. If the name contains one or more slash characters,
 223  219  \fIlocalename\fR will be interpreted as a path name where the created locale
 224  220  definitions will be stored. This capability may be restricted to users with
 225  221  appropriate privileges. (As a consequence of specifying one \fIlocalename\fR,
 226  222  although several categories can be processed in one execution, only categories
 227  223  belonging to the same locale can be processed.)
 228  224  .RE
 229  225  
 230  226  .SH OUTPUT
 231      -.LP
 232  227  \fBlocaledef\fR creates a directory of files that represents the locale's
 233  228  data. The contents of this directory should generally be copied into the
 234  229  appropriate subdirectory of /usr/lib/locale in order the definitions to
 235  230  be visible to programs linked with libc.
 236  231  .sp
 237  232  .SH ENVIRONMENT VARIABLES
 238      -.LP
 239  233  See \fBenviron\fR(5) for definitions of the following environment variables
 240  234  that affect the execution of \fBlocaledef\fR: \fBLANG\fR, \fBLC_ALL\fR,
 241  235  \fBLC_COLLATE\fR, \fBLC_CTYPE\fR, \fBLC_MESSAGES\fR, and \fBNLSPATH\fR.
 242  236  .SH EXIT STATUS
 243      -.LP
 244  237  The following exit values are returned:
 245  238  .sp
 246  239  .ne 2
 247  240  .na
 248  241  \fB\fB0\fR\fR
 249  242  .ad
 250  243  .RS 6n
 251  244  No errors occurred and the locales were successfully created.
 252  245  .RE
 253  246  
↓ open down ↓ 33 lines elided ↑ open up ↑
 287  280  .ne 2
 288  281  .na
 289  282  \fB/usr/lib/locale/\fR\fIlocalename\fR\fB/\fR
 290  283  .ad
 291  284  .sp .6
 292  285  .RS 4n
 293  286  The directory containing locale data.
 294  287  .RE
 295  288  
 296  289  .SH ATTRIBUTES
 297      -.LP
 298  290  See \fBattributes\fR(5) for descriptions of the following attributes:
 299  291  .sp
 300  292  
 301  293  .sp
 302  294  .TS
 303  295  box;
 304  296  c | c
 305  297  l | l .
 306  298  ATTRIBUTE TYPE  ATTRIBUTE VALUE
 307  299  _
 308  300  Interface Stability     Standard
 309  301  .TE
 310  302  
 311  303  .SH SEE ALSO
 312      -.LP
 313  304  \fBlocale\fR(1), \fBiconv_open\fR(3C), \fBnl_langinfo\fR(3C),
 314  305  \fBstrftime\fR(3C), \fBattributes\fR(5), \fBcharmap\fR(5), \fBenviron\fR(5),
 315  306  \fBextensions\fR(5), \fBlocale\fR(5), \fBstandards\fR(5)
 316  307  .SH WARNINGS
 317      -.LP
 318  308  If warnings occur, permanent output will be created if the \fB-c\fR option was
 319  309  specified. The following conditions will cause warning messages to be issued:
 320  310  .RS +4
 321  311  .TP
 322  312  .ie t \(bu
 323  313  .el o
 324  314  If a symbolic name not found in the \fIcharmap\fR file is used for the
 325  315  descriptions of the \fBLC_CTYPE\fR or \fBLC_COLLATE\fR categories (for other
 326  316  categories, this will be an error condition).
 327  317  .RE
 328  318  .RS +4
 329  319  .TP
 330  320  .ie t \(bu
 331  321  .el o
 332  322  If optional keywords not supported by the implementation are present in the
 333  323  source.
 334  324  .RE
 335  325  .SH NOTES
 336      -.LP
 337  326  When the \fB-u\fR option is used, the \fIcode_set_name\fR option-argument is
 338  327  interpreted as a name of a codeset to which the ISO/IEC 10646-1: 2000 standard
 339  328  position constant values are converted. Both the ISO/IEC 10646-1: 2000 standard
 340  329  position constant values and other formats (decimal, hexadecimal, or octal) are
 341  330  valid as encoding values within the charmap file. The codeset can be any
 342  331  codeset that is supported by the \fBiconv_open\fR(3C) function on the system.
 343  332  .sp
 344  333  .LP
 345  334  When conflicts occur between the charmap specification of \fIcode_set_name\fR,
 346  335  \fImb_cur_max\fR, or \fImb_cur_min\fR and the corresponding value for the
 347  336  codeset represented by the \fB-u\fR option-argument \fIcode_set_name\fR, the
 348  337  \fBlocaledef\fR utility fails as an error.
 349  338  .sp
 350  339  .LP
 351  340  When conflicts occur between the charmap encoding values specified for symbolic
 352  341  names of characters of the portable character set and the character encoding
 353  342  values defined by the US-ASCII, the result is unspecified.
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX