bug-bash
[Top][All Lists]
Advanced

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

Re: unquoted expansion not working (was Re: Not missing, but very hard t


From: Greg Wooledge
Subject: Re: unquoted expansion not working (was Re: Not missing, but very hard to see)
Date: Mon, 16 Dec 2019 11:39:06 -0500
User-agent: Mutt/1.10.1 (2018-07-13)

On Sat, Dec 14, 2019 at 02:48:16AM -0800, L A Walsh wrote:
> On 2019/12/13 10:42, Greg Wooledge wrote:
> > There's a larger issue to be addressed first.  The man page says,
> >     [...]
> >     sary.  When characters are supplied, the  expression  expands  to  each
> >     character  lexicographically  between x and y, inclusive, using the de‐
> >     fault C locale.

> ----
>    If it says letters that lends stronger support to including
> unicode ranges of letters and numbers since the shell handles unicode and
> brace expansions with unicode filenames works just fine.  That ranges don't
> seems a bit of a wart.

No, it won't include Unicode, because it very clearly says "C locale"
right up there.

The problem is, it is *not possible* to extract the set of characters
out of an arbitrary locale.  The locale interfaces simply are not built
to allow it.

You can do it in the C locale, simply because the C locale is a known,
fixed quantity that you can hard-code.  You can't do it in any other locale.



reply via email to

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