delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/22/14:42:39

Message-Id: <m0xO04K-000S1nC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT edu DOT ar>
Organization: INTI
To: falk AT gmx DOT de (Falk Friedrich), djgpp AT delorie DOT com
Date: Wed, 22 Oct 1997 15:45:03 +0000
MIME-Version: 1.0
Subject: Re: subdirectories (was: ANNOUNCE: Grep 2.1 uploaded)

falk AT gmx DOT de (Falk Friedrich) wrote:

> (eyal DOT ben-david AT aks DOT com) wrote:
> >Apropos grep,  I didn't find an option for 'grepping' also in
> >subdirectories.
> >Do I have to specify the dirs in the command line ?
> >Is there any tool that does it  (with or without grep) ?
> Use gnu find  btw.  find(1) and xargs(1)
> 
> Example:
> find . -type f -name "*.txt" |xargs grep -Ei "anything" |less

Good for UNIX, not for DOS ;-)

Next release of SET's editor will include a Grep dialog with a switch to make 
it recursive (just a click ;-)

SET 
------------------------------------ 0 --------------------------------
Visit my home page: http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-sot AT usa DOT net - ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


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