[Top][All Lists]

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

Re: [bug-grep] Re: grep: -i option not working i cronjobs

From: Tim Waugh
Subject: Re: [bug-grep] Re: grep: -i option not working i cronjobs
Date: Sun, 14 Nov 2004 11:57:16 +0000
User-agent: Mutt/1.4.1i

On Sun, Nov 14, 2004 at 09:24:23AM +0200, Aharon Robbins wrote:

> > I agree that (2) is the better solution.  It better matches the intended 
> > meaning, and will work properly in situations like languages that have no 
> > lower-case equivalent of a certain character, or have more than one 
> > lower-case 
> > version of a single upper-case character.
> Careful here.  As I just recently learned, there are languages where
> a lower case character is one byte and the upper case equivalent is a
> multibyte character.  (Or vice versa, I don't remember.)  Thus, the
> 'a' -> '[aA]' solution is fine for ASCII, but doesn't generalize for other
> character sets.  Or least not simply.

Having a single-byte character and a multi-byte character in the same
character class works fine here in UTF-8.  Why do you think there
would be problems with this approach?


Attachment: pgpA5s5RrO5Jo.pgp
Description: PGP signature

reply via email to

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