commit: 421d787c7d1ef182d9295037fa8549e03e45e247 Author: Kerin Millar <kfm <AT> plushkava <DOT> net> AuthorDate: Sat Jan 10 05:13:15 2026 +0000 Commit: Kerin Millar <kfm <AT> plushkava <DOT> net> CommitDate: Sat Jan 10 05:13:15 2026 +0000 URL: https://gitweb.gentoo.org/proj/locale-gen.git/commit/?id=421d787c
locale-gen.8: employ the \fIconfig\fR term with greater consistency In particular, don't introduce the config file as being /etc/locale.gen in the DESCRIPTION section. The default location is made clear in the OPTIONS section and - as of this commit - the FILES section. Signed-off-by: Kerin Millar <kfm <AT> plushkava.net> locale-gen.8 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/locale-gen.8 b/locale-gen.8 index 6e9fc8e..0001b68 100644 --- a/locale-gen.8 +++ b/locale-gen.8 @@ -22,9 +22,9 @@ locale\-gen - safely compile and install a glibc locale archive .SH "DESCRIPTION" The locale\-gen utility provides a means by which a system administrator may conveniently manage the set of locales that are made available to the GNU C Library. It accomplishes this by acting as a user-friendly frontend for the \fBlocaledef\fR(1) utility, which is used to compile locales and integrate them into a central archive. .P -By default, locale\-gen generates an archive containing a full complement of supported locales, numbering 500 or more. However, it is typical for an administrator to require only one or two of these. In that case, the \fI/etc/locale.gen\fR configuration file may be populated with a list of the required locales. Consequently, locale\-gen shall compile only the locales that are specified, saving both time and space in the longer term. +By default, locale\-gen generates an archive containing a full complement of supported locales, numbering 500 or more. However, it is typical for an administrator to require only one or two of these. In that case, the \fIconfig\fR file may be populated with a list of the required locales. Consequently, locale\-gen shall compile only the locales that are specified, saving both time and space in the longer term. .P -If the configuration file is missing, empty, or consists only of comments, locale\-gen shall act in one of two ways, depending on whether the \fB\-c\fR option or LOCALEGEN\_CONFIG environment variable was specified. If neither was specified, locale\-gen shall act as if the \fB\-A\fR option had been specified. Otherwise, locale\-gen shall abort. +If the \fIconfig\fR file is missing, empty, or consists only of comments, locale\-gen shall act in one of two ways, depending on whether the \fB\-c\fR option or LOCALEGEN\_CONFIG environment variable was specified. If neither was specified, locale\-gen shall act as if the \fB\-A\fR option had been specified. Otherwise, locale\-gen shall abort. .SH "OPTIONS" .TP \fB\-A\fR, \fB\-\-all\fR @@ -53,7 +53,7 @@ Write out some details regarding the program then exit. .SH "FILES" .TP .I /etc/locale.gen -Specifies the locales to be compiled. +The default location of the \fIconfig\fR file. It specifies the locales to be compiled. .TP .I /usr/share/i18n/SUPPORTED A complete list of valid locale declarations, as provided by glibc.
