Re: Problem with Bash regex test case sensitivity

2010-12-04 Thread Lee Rothstein
On 12/4/2010 5:34 PM, Lee wrote: On 12/4/10, Lee Rothstein wrote: On 12/4/2010 10:06 AM, Corinna Vinschen wrote: > On Dec 4 10:05, Lee wrote: >> On 12/3/10, Eric Blake wrote: Here's my takeaway, given Corinna's interesting and complete context, and my intents. (My intentions, BTW, are f

Re: Problem with Bash regex test case sensitivity

2010-12-04 Thread Eric Blake
On 12/04/2010 02:49 PM, Lee Rothstein wrote: > Therefore, instead of using '[A-Z]' to represent caps, I should > have used (?) the Posixly Correct, '[:upper:]'. POSIX 2001 and 2008 says that [A-Z] when used as a glob or as a regex is defined _only_ in the C locale; in all other locales, it's behav

[ANNOUNCEMENT] Updated: mintty-0.9.3-1

2010-12-04 Thread Andy Koppe
mintty 0.9.3-1 has been uploaded. This is a maintenance release. CHANGES === Changes: - Disabled flow control with ^S and ^Q by default, to stop unwary users from accidentally "hanging" their terminal and to make those keys available for other functions. To re-enable, use 'stty stop ^S start ^

Re: Problem with Bash regex test case sensitivity

2010-12-04 Thread Lee
On 12/4/10, Lee Rothstein wrote: > On 12/4/2010 10:06 AM, Corinna Vinschen wrote: > > > On Dec 4 10:05, Lee wrote: > > >> On 12/3/10, Eric Blake wrote: > >>> Read the FAQ. http://www.faqs.org/faqs/unix-faq/shell/bash/, E9. > > >> Which says the en_US locale collates the upper and lower case

Re: Problem with Bash regex test case sensitivity

2010-12-04 Thread Andy Koppe
On 4 December 2010 21:08, Lee wrote: > So...  the reason for setting LANG is a shorthand method of setting > all the LC_xxx environment variables? Yes. Setting LC_ALL does that too, but the difference between LC_ALL and LANG is that LC_ALL takes precedence over the specific LC_xxx variables, where

Re: Problem with Bash regex test case sensitivity

2010-12-04 Thread Lee Rothstein
On 12/4/2010 10:06 AM, Corinna Vinschen wrote: > On Dec 4 10:05, Lee wrote: >> On 12/3/10, Eric Blake wrote: >>> Read the FAQ. http://www.faqs.org/faqs/unix-faq/shell/bash/, E9. >> Which says the en_US locale collates the upper and lower case >> letters like this: >> AaBb...Zz >> I got

[ANNOUNCEMENT] Updated Cygwin Package: fetchmail-6.3.18-1

2010-12-04 Thread Jason Tishler
New News: === I have updated the version of fetchmail to 6.3.18-1. The tarballs should be available on a Cygwin mirror near you shortly. The only change between this version and the previous one is the following: o update to version 6.3.18 Old News: === Fetchmail is a remote mail

Re: Problem with Bash regex test case sensitivity

2010-12-04 Thread Lee
On 12/4/10, Corinna Vinschen wrote: > On Dec 4 10:05, Lee wrote: >> On 12/3/10, Eric Blake wrote: >> > Read the FAQ. http://www.faqs.org/faqs/unix-faq/shell/bash/, E9. >> >> Which says the en_US locale collates the upper and lower case letters like >> this: >> AaBb...Zz >> >> I got that mu

Re: rebase, perl

2010-12-04 Thread Maurice Mengel
Thanks for your help! Before you answered I tried to rebase to a different base and then wasn't able to use cygwin anymore, so I started with a clean install. Until now it works, and when it doesn't anymore I'll try with making the library writable first. I completely forgot about that. I always s

Re: rebase, perl

2010-12-04 Thread Reini Urban
2010/12/1 Reini Urban: > 2010/11/30 Maurice Mengel: >> Don't know where to look anymore. perl keeps complaining about >> whenever I try to install a module in CPAN. The usual fatal error - >> unable to remap. >> >> Then I try perlrebase from bash. It finishes successfully, but cpan >> continues to

Re: Problem with Bash regex test case sensitivity

2010-12-04 Thread David Sastre
On Sat, Dec 04, 2010 at 10:05:42AM -0400, Lee wrote: > > On 12/03/2010 07:11 PM, Lee wrote: > > why put the local > defaults in ~/.bashrc? My understanding is that ~/.bashrc is called > at every shell startup. Seems like that's one of those things that > just needs to be set in the login shell,

Re: cygpath -w for non-existent server

2010-12-04 Thread Corinna Vinschen
On Dec 4 06:35, Andy Koppe wrote: > With non-existent server foo, and Cygwin 1.7.7 or the latest 1.7.8 snapshot: > > $ cygpath -w //foo/bar > \\foo\bar > > $ cygpath -w //foo > cygpath: error converting "//foo" - No such file or directory > > Is that as intended? > > Also, both only return aft

Re: Problem with Bash regex test case sensitivity

2010-12-04 Thread Corinna Vinschen
On Dec 4 10:05, Lee wrote: > On 12/3/10, Eric Blake wrote: > > Read the FAQ. http://www.faqs.org/faqs/unix-faq/shell/bash/, E9. > > Which says the en_US locale collates the upper and lower case letters like > this: > AaBb...Zz > > I got that much :) What I don't get is why someone woul

Re: Problem with Bash regex test case sensitivity

2010-12-04 Thread Lee
On 12/3/10, Eric Blake wrote: > On 12/03/2010 07:11 PM, Lee wrote: >>> Or, is this a bug? > > No, but a "feature" of your locale. Set 'export LC_COLLATE=C', and use > LANG rather than LC_ALL for all your other locale defaults, in your > ~/.bashrc if you don't like it. Nice tip - thank you. But