bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 4/7] doc/bash.1: Document role of LC_COLLATE in case-insensit


From: G. Branden Robinson
Subject: Re: [PATCH 4/7] doc/bash.1: Document role of LC_COLLATE in case-insensitive pathname expansion
Date: Sat, 20 Sep 2025 21:36:17 -0500

At 2025-09-20T23:27:32+0200, Gioele Barabucci wrote:
> From: Matthias Klose <doko@debian.org>
> +Note that when using range expressions like
> +[a-z] (see below), letters of the other case may be included,
> +depending on the setting of
> +.B LC_COLLATE.

1.  s/Note that//
2.  Set literals in bold (usually).
3.  Don't set non-literals in bold (usually).
4.  If you mean a hyphen-minus (and you do for this literal example of a
    glob expression), use `\-`, not `-`.  Debian systems make this
    problem invisible, but Bash gets installed on systems that are not
    Debian systems.[1]
5.  I would favor "value" over "setting".  Environment variables have
    "values".

Thus:

+When using range expressions like
+.B [a\-z]
+(see below),
+letters of the other case may be included,
+depending on the value of
+.BR LC_COLLATE .

...and once again I broke input lines at phrase and clause boundaries.

Regards,
Branden

[1] https://lwn.net/Articles/947941/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]