delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/21/22:13:39

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: yes
Path: not-for-mail
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Newsgroups: gmane.os.cygwin
Subject: Re: [ANNOUNCEMENT] Updated: grep-2.5g
Date: Thu, 21 Feb 2002 19:09:50 -0800
Lines: 18
Message-ID: <3C75B67E.5030004@DeFaria.com>
References: <200202220253 DOT g1M2rqh01431 AT cgf DOT cipe DOT redhat DOT com>
NNTP-Posting-Host: dsl-64-195-250-225.telocity.com
Mime-Version: 1.0
X-Trace: quimby2.netfonds.no 1014347469 12181 64.195.250.225 (22 Feb 2002 03:11:09 GMT)
X-Complaints-To: usenet AT quimby2 DOT netfonds DOT no
NNTP-Posting-Date: 22 Feb 2002 03:11:09 GMT
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1
X-Accept-Language: en,ru

Christopher Faylor wrote:

> I've made a new version of 'grep' available for download.  This updates
> the package to the latest version available from ftp.gnu.org.  I've
> included the update info from the /usr/doc/grep-2.5g/NEWS file below.
> 
> For a brief descripton of this package, see http://cygwin.com/packages/ .


Could we get grep to silently ignore directories? For example, if I grep "asdf" *
and there exists a directory called foo I see:

grep: foo: is a directory

I see there is a -d option and I can say -d skip. I guess what I'm asking for then is
to have -d default to skip instead of read.




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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