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

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
From: Jeff Mincy <mincy AT rcn DOT com>
MIME-Version: 1.0
Message-ID: <15478.39828.520000.396849@antarres.muniversal.com>
Date: Fri, 22 Feb 2002 14:27:16 -0500
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: grep-2.5g
In-Reply-To: <20020222032629.GA17013@redhat.com>
References: <20020222032629 DOT GA17013 AT redhat DOT com>
X-Mailer: VM 7.00 under 21.4 (patch 6) "Common Lisp (Windows)" XEmacs Lucid

On Thu, 21 Feb 2002, cygwin AT cygwin DOT com wrote:

> On Thu, Feb 21, 2002 at 07:09:50PM -0800, Andrew DeFaria wrote:
>>Could we get grep to silently ignore directories?  For example, if I
>>grep "asdf" * and there exists a directory called foo I see:
>>
>>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.
> 
> Contact the grep developers. I'm sure you can find an appropriate mailing list
> here http://www.gnu.org/prep/mailinglists.html .

This request can be trivially handled with an alias in .bashrc.
  alias grep="grep -d skip"

-jeff


--
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