Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 windows grep messed up
I have long used windows (GNU) grep without incident ... until about 6 months ago
now when I use a command like:
grep -ri --include='*.py' 'messagebox' .
I immediately get an idle window with a copy of in it

Any clues on how to stop this most annoying behavior?

Same in cmder or cmd

I added an environment variable to no avail
cmder comes with build in grep.
λ grep --version                                                                            
grep (GNU grep) 2.26                                                                        
Copyright (C) 2016 Free Software Foundation, Inc.                                           
License GPLv3+: GNU GPL version 3 or later <>.              
This is free software: you are free to change and redistribute it.                          
There is NO WARRANTY, to the extent permitted by law.                                       
Written by Mike Haertel and others, see <>.
I am having the same issue no matter where I run grep.
Is there something wrong with my syntax?

So I tried grep --version (from cmder)
I immediately get the idle window.
I need to examine all of my paths more closely, this is an odd one.

I also tried:
λ which grep

/c/Program Files (x86)/GnuWin32/bin/grep

which is obviously taking precedence over cmder's grep
GnuWin32 add automatically to Environment Variables(Path)
You can remove it there and restart.
If grep from cmder still start IDLE,you most look at File Associations,
and see if grep is pointing to something.
Thanks -- MS-pain

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  grep value files enigma619 0 169 Mar-04-2020, 02:21 PM
Last Post: enigma619
  I think I messed up python.... XavPro_QC 7 1,131 Aug-02-2019, 09:02 PM
Last Post: XavPro_QC
  Matplotlib is all messed up! 64humans 1 788 Mar-16-2019, 08:04 PM
Last Post: libervurto
  2 forms of this tool grep command Lylyhannah 0 378 Jan-21-2019, 08:21 AM
Last Post: Lylyhannah
  grep command based on lines in a pattern file Skaperen 1 456 Jan-07-2019, 10:23 AM
Last Post: Gribouillis

Forum Jump:

Users browsing this thread: 1 Guest(s)