bug-grep
[Top][All Lists]
Advanced

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

[bug #29551] [ENH] grep listens in vain forever on STDIN even if -r flag


From: Paolo Bonzini
Subject: [bug #29551] [ENH] grep listens in vain forever on STDIN even if -r flag (and no file) is supplied
Date: Wed, 14 Apr 2010 13:52:42 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100216 Fedora/3.5.8-1.fc12 Firefox/3.5.8

Update of bug #29551 (project grep):

                  Status:                    None => Duplicate              
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

Yes, this came up other times, and there's even a patch from Apple to do
that.  I don't know if the patch supports giving no warning for "-".  My main
problem is what happens if someone has GREP_OPTIONS=-r; there were reports of
having GREP_OPTIONS=-E which is much more insane, so I wouldn't be surprised
to see that in the wild.

An option d) is issue a warning if the input is a tty.  I don't recall if
that's what Apple's patch implements, I don't think so but it would be my
preferred choice.

Closing as duplicate, but anyway thanks for the ideas!

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?29551>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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