[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: {A..z} brace expansion in Bash 3
From: |
Paul Jarc |
Subject: |
Re: {A..z} brace expansion in Bash 3 |
Date: |
Sun, 01 Aug 2004 18:31:20 -0400 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) |
Chet Ramey <chet.ramey@case.edu> wrote:
> Since only alphas and digits are accepted, if isalpha() doesn't return
> true for 0xc4 (which it will not in the C locale), the shell will not
> treat it as a valid sequence expression.
So I guess the comparison to decide ascension/descension is done
according to $LC_COLLATE, but then the characters in the range are
generated as a consecutive sequence of codepoints, hence the ascension
and wrapping?
> No. Currently, only letters and digits are allowed.
Ah, the man page doesn't mention that. Is there reason it couldn't be
extended to other characters?
paul