public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 18/20] localedef.1: ffix
@ 2023-02-09 18:11 G. Branden Robinson
  2023-02-10  1:47 ` Alejandro Colomar
  0 siblings, 1 reply; 2+ messages in thread
From: G. Branden Robinson @ 2023-02-09 18:11 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: linux-man

[-- Attachment #1: Type: text/plain, Size: 6044 bytes --]

* Protect literals from hyphenation.
* Specify break points in lengthy file names.

Signed-off-by: G. Branden Robinson <g.branden.robinson@gmail.com>
---
 man1/localedef.1 | 60 ++++++++++++++++++++++++------------------------
 1 file changed, 30 insertions(+), 30 deletions(-)

diff --git a/man1/localedef.1 b/man1/localedef.1
index f33d01ca0..4031db10d 100644
--- a/man1/localedef.1
+++ b/man1/localedef.1
@@ -45,7 +45,7 @@ localedef \- compile locale definition files
 .YS
 .SH DESCRIPTION
 The
-.B localedef
+.B \%localedef
 program reads the indicated
 .I charmap
 and
@@ -79,22 +79,22 @@ If the
 option is used,
 .I output-path
 is the name of a subdirectory in
-.I /usr/lib/locale
+.I \%/usr/\:lib/\:\%locale
 where per-category compiled files are placed.
 .IP \[bu]
 Otherwise,
 .I output-path
 is the name of a locale and the compiled locale data is added to the
 archive file
-.IR /usr/lib/locale/locale\-archive .
+.IR \%/usr/\:lib/\:\%locale/\:\%locale\-archive .
 A locale archive is a memory-mapped file which contains all the
 system-provided locales;
 it is used by all localized programs when the environment variable
-.B LOCPATH
+.B \%LOCPATH
 is not set.
 .PP
 In any case,
-.B localedef
+.B \%localedef
 aborts if the directory in which it tries to write locale files has
 not already been created.
 .PP
@@ -109,12 +109,12 @@ If no
 is given,
 or if it is given as a dash
 (\-),
-.B localedef
+.B \%localedef
 reads from standard input.
 .SH OPTIONS
 .SS Operation-selection options
 A few options direct
-.B localedef
+.B \%localedef
 to do something other than compile locale definitions.
 Only one of these options should be used at a time.
 .TP
@@ -123,7 +123,7 @@ Add the
 .I compiled-path
 directories to the locale archive file.
 The directories should have been created by previous runs of
-.BR localedef ,
+.BR \%localedef ,
 using
 .BR \-\-no\-archive .
 .TP
@@ -157,11 +157,11 @@ Otherwise,
 the file is sought in the current directory
 and the default directory for character maps.
 If the environment variable
-.B I18NPATH
+.B \%I18NPATH
 is set,
-.I $I18NPATH/charmaps/
+.I \%$I18NPATH/\:\%charmaps/
 and
-.I $I18NPATH/
+.I \%$I18NPATH/
 are also searched after the current directory.
 The default directory for character maps is printed by
 .BR "localedef \-\-help" .
@@ -171,11 +171,11 @@ Specify the locale definition file to compile.
 The file is sought in the current directory
 and the default directory for locale definition files.
 If the environment variable
-.B I18NPATH
+.B \%I18NPATH
 is set,
-.I $I18NPATH/locales/
+.I \%$I18NPATH/\:\%locales/
 and
-.I $I18NPATH
+.I \%$I18NPATH
 are also searched after the current directory.
 The default directory for locale definition files is printed by
 .BR "localedef \-\-help" .
@@ -191,11 +191,11 @@ Otherwise,
 the file is sought in the current directory
 and the default directory for repertoire maps.
 If the environment variable
-.B I18NPATH
+.B \%I18NPATH
 is set,
-.I $I18NPATH/repertoiremaps/
+.I \%$I18NPATH/\:\%repertoiremaps/
 and
-.I $I18NPATH
+.I \%$I18NPATH
 are also searched after the current directory.
 The default directory for repertoire maps is printed by
 .BR "localedef \-\-help" .
@@ -227,7 +227,7 @@ as a subdirectory in the same directory as the locale archive file,
 and create separate output files for locale categories in it.
 This is helpful to prevent system locale archive updates from overwriting
 custom locales created with
-.BR localedef .
+.BR \%localedef .
 .TP
 .B \-\-no\-hard\-links
 Do not create hard links between installed locales.
@@ -237,7 +237,7 @@ Comma-separated list of warnings to disable.
 Supported warnings are
 .I ascii
 and
-.IR intcurrsym .
+.IR \%intcurrsym .
 .TP
 .B \-\-posix
 Conform strictly to POSIX.
@@ -245,7 +245,7 @@ Implies
 .BR \-\-verbose .
 This option currently has no other effect.
 POSIX conformance is assumed if the environment variable
-.B POSIXLY_CORRECT
+.B \%POSIXLY_CORRECT
 is set.
 .TP
 .BI \-\-prefix= pathname
@@ -255,7 +255,7 @@ the prefix is empty.
 Setting the prefix to
 .IR foo ,
 the archive would be placed in
-.IR foo/usr/lib/locale/locale\-archive .
+.IR \%foo/\:usr/\:lib/\:\%locale/\:\%locale\-archive .
 .TP
 .B \-\-quiet
 Suppress all notifications and warnings,
@@ -272,12 +272,12 @@ Comma-separated list of warnings to enable.
 Supported warnings are
 .I ascii
 and
-.IR intcurrsym .
+.IR \%intcurrsym .
 .TP
 .BR \-? ", " \-\-help
 Print a usage summary and exit.
 Also prints the default paths used by
-.BR localedef .
+.BR \%localedef .
 .TP
 .B "\-\-usage"
 Print a short usage summary and exit.
@@ -286,10 +286,10 @@ Print a short usage summary and exit.
 Print the version number,
 license,
 and disclaimer of warranty for
-.BR localedef .
+.BR \%localedef .
 .SH EXIT STATUS
 One of the following exit values can be returned by
-.BR localedef :
+.BR \%localedef :
 .TP
 .B 0
 Command completed successfully.
@@ -303,12 +303,12 @@ Errors encountered,
 no output created.
 .SH ENVIRONMENT
 .TP
-.B POSIXLY_CORRECT
+.B \%POSIXLY_CORRECT
 The
 .B \-\-posix
 flag is assumed if this environment variable is set.
 .TP
-.B I18NPATH
+.B \%I18NPATH
 A colon-separated list of search directories for files.
 .SH FILES
 .TP
@@ -377,7 +377,7 @@ POSIX.1-2008.
 .SH EXAMPLES
 Compile the locale files for Finnish in the UTF\-8 character set
 and add it to the default locale archive with the name
-.BR fi_FI.UTF\-8 :
+.BR \%fi_FI.UTF\-8 :
 .PP
 .in +4n
 .EX
@@ -387,10 +387,10 @@ localedef \-f UTF\-8 \-i fi_FI fi_FI.UTF\-8
 .PP
 The next example does the same thing,
 but generates files into the
-.I fi_FI.UTF\-8
+.I \%fi_FI.UTF\-8
 directory which can then be used by programs when the environment
 variable
-.B LOCPATH
+.B \%LOCPATH
 is set to the current directory (note that the last argument must
 contain a slash):
 .PP
-- 
2.30.2


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 18/20] localedef.1: ffix
  2023-02-09 18:11 [PATCH 18/20] localedef.1: ffix G. Branden Robinson
@ 2023-02-10  1:47 ` Alejandro Colomar
  0 siblings, 0 replies; 2+ messages in thread
From: Alejandro Colomar @ 2023-02-10  1:47 UTC (permalink / raw)
  To: G. Branden Robinson; +Cc: linux-man


[-- Attachment #1.1: Type: text/plain, Size: 6682 bytes --]

Hi Branden,

On 2/9/23 19:11, G. Branden Robinson wrote:
> * Protect literals from hyphenation.
> * Specify break points in lengthy file names.
> 
> Signed-off-by: G. Branden Robinson <g.branden.robinson@gmail.com>

Patches 17 and 18 applied.

Thanks,

Alex

> ---
>  man1/localedef.1 | 60 ++++++++++++++++++++++++------------------------
>  1 file changed, 30 insertions(+), 30 deletions(-)
> 
> diff --git a/man1/localedef.1 b/man1/localedef.1
> index f33d01ca0..4031db10d 100644
> --- a/man1/localedef.1
> +++ b/man1/localedef.1
> @@ -45,7 +45,7 @@ localedef \- compile locale definition files
>  .YS
>  .SH DESCRIPTION
>  The
> -.B localedef
> +.B \%localedef
>  program reads the indicated
>  .I charmap
>  and
> @@ -79,22 +79,22 @@ If the
>  option is used,
>  .I output-path
>  is the name of a subdirectory in
> -.I /usr/lib/locale
> +.I \%/usr/\:lib/\:\%locale
>  where per-category compiled files are placed.
>  .IP \[bu]
>  Otherwise,
>  .I output-path
>  is the name of a locale and the compiled locale data is added to the
>  archive file
> -.IR /usr/lib/locale/locale\-archive .
> +.IR \%/usr/\:lib/\:\%locale/\:\%locale\-archive .
>  A locale archive is a memory-mapped file which contains all the
>  system-provided locales;
>  it is used by all localized programs when the environment variable
> -.B LOCPATH
> +.B \%LOCPATH
>  is not set.
>  .PP
>  In any case,
> -.B localedef
> +.B \%localedef
>  aborts if the directory in which it tries to write locale files has
>  not already been created.
>  .PP
> @@ -109,12 +109,12 @@ If no
>  is given,
>  or if it is given as a dash
>  (\-),
> -.B localedef
> +.B \%localedef
>  reads from standard input.
>  .SH OPTIONS
>  .SS Operation-selection options
>  A few options direct
> -.B localedef
> +.B \%localedef
>  to do something other than compile locale definitions.
>  Only one of these options should be used at a time.
>  .TP
> @@ -123,7 +123,7 @@ Add the
>  .I compiled-path
>  directories to the locale archive file.
>  The directories should have been created by previous runs of
> -.BR localedef ,
> +.BR \%localedef ,
>  using
>  .BR \-\-no\-archive .
>  .TP
> @@ -157,11 +157,11 @@ Otherwise,
>  the file is sought in the current directory
>  and the default directory for character maps.
>  If the environment variable
> -.B I18NPATH
> +.B \%I18NPATH
>  is set,
> -.I $I18NPATH/charmaps/
> +.I \%$I18NPATH/\:\%charmaps/
>  and
> -.I $I18NPATH/
> +.I \%$I18NPATH/
>  are also searched after the current directory.
>  The default directory for character maps is printed by
>  .BR "localedef \-\-help" .
> @@ -171,11 +171,11 @@ Specify the locale definition file to compile.
>  The file is sought in the current directory
>  and the default directory for locale definition files.
>  If the environment variable
> -.B I18NPATH
> +.B \%I18NPATH
>  is set,
> -.I $I18NPATH/locales/
> +.I \%$I18NPATH/\:\%locales/
>  and
> -.I $I18NPATH
> +.I \%$I18NPATH
>  are also searched after the current directory.
>  The default directory for locale definition files is printed by
>  .BR "localedef \-\-help" .
> @@ -191,11 +191,11 @@ Otherwise,
>  the file is sought in the current directory
>  and the default directory for repertoire maps.
>  If the environment variable
> -.B I18NPATH
> +.B \%I18NPATH
>  is set,
> -.I $I18NPATH/repertoiremaps/
> +.I \%$I18NPATH/\:\%repertoiremaps/
>  and
> -.I $I18NPATH
> +.I \%$I18NPATH
>  are also searched after the current directory.
>  The default directory for repertoire maps is printed by
>  .BR "localedef \-\-help" .
> @@ -227,7 +227,7 @@ as a subdirectory in the same directory as the locale archive file,
>  and create separate output files for locale categories in it.
>  This is helpful to prevent system locale archive updates from overwriting
>  custom locales created with
> -.BR localedef .
> +.BR \%localedef .
>  .TP
>  .B \-\-no\-hard\-links
>  Do not create hard links between installed locales.
> @@ -237,7 +237,7 @@ Comma-separated list of warnings to disable.
>  Supported warnings are
>  .I ascii
>  and
> -.IR intcurrsym .
> +.IR \%intcurrsym .
>  .TP
>  .B \-\-posix
>  Conform strictly to POSIX.
> @@ -245,7 +245,7 @@ Implies
>  .BR \-\-verbose .
>  This option currently has no other effect.
>  POSIX conformance is assumed if the environment variable
> -.B POSIXLY_CORRECT
> +.B \%POSIXLY_CORRECT
>  is set.
>  .TP
>  .BI \-\-prefix= pathname
> @@ -255,7 +255,7 @@ the prefix is empty.
>  Setting the prefix to
>  .IR foo ,
>  the archive would be placed in
> -.IR foo/usr/lib/locale/locale\-archive .
> +.IR \%foo/\:usr/\:lib/\:\%locale/\:\%locale\-archive .
>  .TP
>  .B \-\-quiet
>  Suppress all notifications and warnings,
> @@ -272,12 +272,12 @@ Comma-separated list of warnings to enable.
>  Supported warnings are
>  .I ascii
>  and
> -.IR intcurrsym .
> +.IR \%intcurrsym .
>  .TP
>  .BR \-? ", " \-\-help
>  Print a usage summary and exit.
>  Also prints the default paths used by
> -.BR localedef .
> +.BR \%localedef .
>  .TP
>  .B "\-\-usage"
>  Print a short usage summary and exit.
> @@ -286,10 +286,10 @@ Print a short usage summary and exit.
>  Print the version number,
>  license,
>  and disclaimer of warranty for
> -.BR localedef .
> +.BR \%localedef .
>  .SH EXIT STATUS
>  One of the following exit values can be returned by
> -.BR localedef :
> +.BR \%localedef :
>  .TP
>  .B 0
>  Command completed successfully.
> @@ -303,12 +303,12 @@ Errors encountered,
>  no output created.
>  .SH ENVIRONMENT
>  .TP
> -.B POSIXLY_CORRECT
> +.B \%POSIXLY_CORRECT
>  The
>  .B \-\-posix
>  flag is assumed if this environment variable is set.
>  .TP
> -.B I18NPATH
> +.B \%I18NPATH
>  A colon-separated list of search directories for files.
>  .SH FILES
>  .TP
> @@ -377,7 +377,7 @@ POSIX.1-2008.
>  .SH EXAMPLES
>  Compile the locale files for Finnish in the UTF\-8 character set
>  and add it to the default locale archive with the name
> -.BR fi_FI.UTF\-8 :
> +.BR \%fi_FI.UTF\-8 :
>  .PP
>  .in +4n
>  .EX
> @@ -387,10 +387,10 @@ localedef \-f UTF\-8 \-i fi_FI fi_FI.UTF\-8
>  .PP
>  The next example does the same thing,
>  but generates files into the
> -.I fi_FI.UTF\-8
> +.I \%fi_FI.UTF\-8
>  directory which can then be used by programs when the environment
>  variable
> -.B LOCPATH
> +.B \%LOCPATH
>  is set to the current directory (note that the last argument must
>  contain a slash):
>  .PP

-- 
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-10  1:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-09 18:11 [PATCH 18/20] localedef.1: ffix G. Branden Robinson
2023-02-10  1:47 ` Alejandro Colomar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox