Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: Eli Zaretskii , Falk Friedrih , djgpp AT delorie DOT com Date: Fri, 24 Oct 1997 14:43:27 +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 > On Wed, 22 Oct 1997, Salvador Eduardo Tropea (SET) wrote: > > > > find . -type f -name "*.txt" |xargs grep -Ei "anything" |less > > > > Good for UNIX, not for DOS ;-) > > Why not? Are you telling that this command won't work on DOS? I > think it would. No I didn't said that, is just too much complication and the way it works (not true pipes) is not the best. Additionally the user needs tons of tools installed. Isn't a good idea for DOS people. Remmember this thread started asking how to make grep recursive so the man who started didn't know even the basic mechanism used by UNIX shells, the find/xargs/grep/less trick will only be a cryptic resourse for him. I find this mechanism totally complex and annoying, so I created a grep shell in my editor (was almost finished when the user asked). 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