This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Wrong message 'Pattern not found'
- From: Ken Jackson <cygwin at jackson dot io>
- To: cygwin at cygwin dot com
- Date: Wed, 08 Dec 2010 11:29:18 -0500
- Subject: Re: Wrong message 'Pattern not found'
- References: <idi23m$ers$1@dough.gmane.org>
when I call 'man grep' in Cygwin 1.7.1 and try to search the pattern
-P, which is really available, with '/-P', the wrong message 'Pattern
not found (press RETURN)' appeared.
This behaviour only occurs with Cygwin and only on a certain computer.
It works well with Cygwin on another computer.
What may be the reason for this invalid message and how to resolve
that problem?
I just tried this under Linux and was surprised that it works as you say
it should.
For years I've always automatically backslashed a leading hyphen when
searching
in man because I had to. It seems to have changed. I wonder how long ago.
That must have been an upstream change.
-Ken
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple