[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interaction of -i with square brackets
From: |
Andreas Schwab |
Subject: |
Re: Interaction of -i with square brackets |
Date: |
Wed, 16 Nov 2005 19:10:03 +0100 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) |
Geoff Kuenning <address@hidden> writes:
> What's _really_ odd is that it depends on whether I'm running as root.
The root user is probably using a different locale.
$ echo '[Tuesday' | LC_ALL=de_DE.UTF-8 grep -i '\[[T]'
$ echo '[Tuesday' | LC_ALL=C grep -i '\[[T]'
[Tuesday
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."