delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/24/13:40:14

Message-Id: <m0xOi2X-000S25C@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: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, Falk Friedrih <falk AT gmx DOT de>,
djgpp AT delorie DOT com
Date: Fri, 24 Oct 1997 14:43:27 +0000
MIME-Version: 1.0
Subject: Re: subdirectories (was: ANNOUNCE: Grep 2.1 uploaded)

> 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

- Raw text -


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