Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" 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 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: subdirectories (was: ANNOUNCE: Grep 2.1 uploaded) Precedence: bulk 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