Mail Archives: djgpp/1997/10/24/13:40:14
> 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 -