Interaction of -i with square brackets

2005-11-16 Thread Geoff Kuenning
27; bash-3.00# echo '[Tuesday' | PATH=/usr/bin grep -i '\[[T]' bash-3.00# echo $LD_LIBRARY_PATH bash-3.00# z [1]+ Stopped su mallet:509> echo $LD_LIBRARY_PATH /usr/local/lib:/usr/lib:/lib:/usr/X11R6/lib:/home/geoff/lib/i86pc mallet:510> %% su bash-3.00

Re: Interaction of -i with square brackets

2005-11-16 Thread Geoff Kuenning
> The root user is probably using a different locale. Bingo. That was (is) the problem. Thanks. But I don't understand why the locale should matter when I'm only grepping for 7-bit characters. -- Geoff Kuenning [EMAIL PROTECTED] http://www.cs.hmc.edu/~geoff/ If at firs

bug#31074: Grep -i is slow

2018-04-05 Thread Geoff Kuenning
[Oo][Uu][Tt][Gg][Oo][Ii][Nn][Gg].*[Hh][Aa][Rr][Rr][Ii][Ss].*[Dd][Cc][Rr][Aa][Ww]' rawindex real 0m0.532s user0m0.491s sys 0m0.040s -- Geoff Kuenning ge...@cs.hmc.edu http://www.cs.hmc.edu/~geoff/ The DMCA criminalizes curiosity. It would put Susie in jail for taking her stereo apart to see how it works.

bug#31074: Grep -i is slow

2018-04-08 Thread Geoff Kuenning
_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDE