delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/12/07/23:31:09

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=3.4 required=5.0 tests=AWL,BAYES_00,BOTNET,DATE_IN_FUTURE_06_12,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-id: <4CFFB25E.3080505@jackson.io>
Date: Wed, 08 Dec 2010 11:29:18 -0500
From: Ken Jackson <cygwin AT jackson DOT io>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101103 Fedora/1.0-0.33.b2pre.fc14 Thunderbird/3.1.6
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Wrong message 'Pattern not found'
References: <idi23m$ers$1 AT dough DOT gmane DOT org>
In-reply-to: <idi23m$ers$1@dough.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019