emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#44713: closed (grep -F not working)


From: GNU bug Tracking System
Subject: bug#44713: closed (grep -F not working)
Date: Tue, 17 Nov 2020 22:16:01 +0000

Your message dated Tue, 17 Nov 2020 14:14:52 -0800
with message-id <e6eafa9c-f39c-4184-8565-dcd87981a4a0@cs.ucla.edu>
and subject line Re: bug#44713: grep -F not working
has caused the debbugs.gnu.org bug report #44713,
regarding grep -F not working
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
44713: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44713
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: grep -F not working Date: Tue, 17 Nov 2020 20:53:18 +0000

I’m using grep deployed with Git for Windows.

This used to allow me to detect if an environment variable contained a substring (case insensitive).

 

echo abc | "C:\Program Files\Git\usr\bin\grep.exe" -iqF d

if errorlevel 1 (echo Not present) else (echo Present)

 

However, the -F option is no longer working.

I need it because the string being searched for may contain special characters for regex. I need a simple string search not pattern matching.

 

Errorlevel is now something like 34304, and it prints to stderr:

      0 [main] grep 747 cygwin_exception::open_stackdumpfile: Dumping stack trace to grep.exe.stackdump

You can easily obtain a stack trace by running the command above.

 

Keith Robertson

R&D Core Platform

C | 678.570.7667
krobertson@vmware.com

Interact with AirWatch via Twitter, LinkedIn and Google+

VMware AirWatch

This communication is confidential and is intended to be privileged pursuant to applicable law. If you are not a designated recipient of this message, please do not read, copy, use or disclose this message or its attachments. Notify the sender by replying to this message and delete or destroy all copies of this message and attachments in all media. Thank you.

 


--- End Message ---
--- Begin Message --- Subject: Re: bug#44713: grep -F not working Date: Tue, 17 Nov 2020 14:14:52 -0800 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
On 11/17/20 12:53 PM, Keith Robertson wrote:

      0 [main] grep 747 cygwin_exception::open_stackdumpfile: Dumping stack 
trace to grep.exe.stackdump

Looks like a configuration problem of some sort. I think you'll need to contact whoever packaged Git for Windows for you, as the grep developers generally don't do Microsoft Windows.


--- End Message ---

reply via email to

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