Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14495
| From | Ilkka Virta <itvirta@iki.fi> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: Rational Range Interpretation for bash-5.0? |
| Date | 2018-08-15 16:29 +0300 |
| Message-ID | <mailman.5137.1534339782.1292.bug-bash@gnu.org> (permalink) |
| References | <1f2b7e3e-3dee-f5bb-7f0b-59393ae99902@case.edu> |
On 6.8. 23:07, Chet Ramey wrote: > Hi. I am considering making bash glob expansion implement rational range > interpretation starting with bash-5.0 -- basically making globasciiranges > the default. It looks like glibc is going to do this for version 2.28 (at > least for a-z, A-Z, and 0-9), and other GNU utilities have done it for some > time. What do folks think? I tried to think about a counterpoint, some case for where the current (non-globasciiranges) behaviour would be useful, but I can't come up with any. At least the part where [a-z] matches A, but not Z makes it a bit useless. If you're considering special-casing just those three, I'd suggest adding a-f and A-F too, for patterns matching hex digits. So yeah, +1 from me. -- Ilkka Virta / itvirta@iki.fi
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: Rational Range Interpretation for bash-5.0? Ilkka Virta <itvirta@iki.fi> - 2018-08-15 16:29 +0300
csiph-web