Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #11649
| Newsgroups | gnu.bash.bug |
|---|---|
| Date | 2015-10-13 10:11 -0700 |
| References | <d960a94c-e3f0-4b5e-add2-1e3201da015e@googlegroups.com> |
| Message-ID | <3b3a02f3-0370-4602-aaa1-ee270b3139ac@googlegroups.com> (permalink) |
| Subject | Re: Something strange with string replacements |
| From | gaspar.bin@gmail.com |
Thanks Greg!
You're the best, didn't notice that. I'm testing globasciiranges, it behaves like the C locale and that's very interesting.
Thanks again, I really appreciate your explanation.
El lunes, 12 de octubre de 2015, 1:33:11 (UTC+2), gaspa...@gmail.com escribió:
> Hello,
>
> I was just testing if I could do some things with bash and the I came across this:
> $ tigres="Un tigre, dos tigres, tres tigres"
> $ echo ${tigres//[A-Z]/[a-z]}
>
> tt [a-z][a-z][a-z][a-z][a-z], Ale cto kkk log nfs tes tmp tst www [a-z][a-z][a-z][a-z][a-z][a-z], aeat home kaka lmms Mail prog temp test Clases kernel kfreir Mariah Música system unbind Vídeos webdav
>
> The reply was strange, Ale, cto, kkk, log, nfs, tes... are files in the current directory where I'm running this.
>
> I was just testing, not trying to convert letters or so.
>
> My bash Version: GNU bash, versión 4.3.11(1)-release (x86_64-pc-linux-gnu)
>
> Thanks
Back to gnu.bash.bug | Previous | Next — Previous in thread | Find similar
Something strange with string replacements gaspar.bin@gmail.com - 2015-10-11 16:33 -0700 Re: Something strange with string replacements Greg Wooledge <wooledg@eeg.ccf.org> - 2015-10-12 08:29 -0400 Re: Something strange with string replacements gaspar.bin@gmail.com - 2015-10-13 10:11 -0700
csiph-web