help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: grep-find question (Is it a bug of GunWin32 version of "grep")


From: Eli Zaretskii
Subject: Re: grep-find question (Is it a bug of GunWin32 version of "grep")
Date: Sat, 11 Aug 2007 13:06:28 +0300

> Date: Sat, 11 Aug 2007 13:55:17 +0800
> From: <brianjiang@gdnt.com.cn>
> 
> And I cannot find the pcre.dll in my computer. Instead, I find pcre3.dll 
> (installed by GnuWin32):
> ---------------------------------------------------------------------------------------------------
> D:\WiKi>which pcre3.dll
> C:/Program Files/GnuWin32/bin/pcre3.dll

Strange.  I installed Grep from a zip file, not with a self-installing
setup program, and I clearly see only pcre.dll in the
grep-2.5.1a-dep.zip archive I still have on my machine.

What is the time stamp of pcre3.dll on your system?

Also, does it help to reinstall Grep?

> And I found if when text in the file is lowcase, e.g., "rs17", then I can use 
> "-i" option to find it successfully. e.g., "-i RS17".
> But if the text in the file is uppercase, e.g., "RS17", then neither "-i 
> rs17" nor "-i RS17" can found it :( See below: 
> (Have you tried that?)

Yes, I've tried that, and it works as I expect: it finds text
case-insensitively no matter if I specify the search string in
uppercase or lowercase.

> I currently use the MSYS version for my Emacs and it works well.

FWIW, I don't recommend this.  MSYS ports are meant for one purpose
only: to be able to build MinGW ports of other tools.  For that
purpose, they sometimes tweak the command-line arguments in order to
allow running those commands from Unix shell scripts.  In particular,
they convert Windows file names with drive letters into pseudo-Posix
file names that start with a forward slash.  If a command-line
argument looks like a file name, but really isn't, this conversion
could have devastating effect on the Grep command.




reply via email to

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