public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx.manpages@gmail.com>
To: "G. Branden Robinson" <g.branden.robinson@gmail.com>
Cc: linux-man@vger.kernel.org
Subject: Re: [PATCH 18/20] localedef.1: ffix
Date: Fri, 10 Feb 2023 02:47:33 +0100	[thread overview]
Message-ID: <e333df29-ec6c-da14-8cd0-fd4626a2d3ba@gmail.com> (raw)
In-Reply-To: <20230209181134.uoci3m53wyoek5b4@illithid>


[-- 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 --]

      reply	other threads:[~2023-02-10  1:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-09 18:11 [PATCH 18/20] localedef.1: ffix G. Branden Robinson
2023-02-10  1:47 ` Alejandro Colomar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e333df29-ec6c-da14-8cd0-fd4626a2d3ba@gmail.com \
    --to=alx.manpages@gmail.com \
    --cc=g.branden.robinson@gmail.com \
    --cc=linux-man@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox