Wrong message 'Pattern not found'

Ken Jackson cygwin@jackson.io
Wed Dec 8 04:31:00 GMT 2010

> 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 
in man because I had to.  It seems to have changed.  I wonder how long ago.

That must have been an upstream change.


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

More information about the Cygwin mailing list