This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Wrong message 'Pattern not found'



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]