* grep a string in subdirectories
@ 2006-11-17 10:26 william.a.george
2006-11-21 12:48 ` netawater
0 siblings, 1 reply; 2+ messages in thread
From: william.a.george @ 2006-11-17 10:26 UTC (permalink / raw)
Hi.
My problem is When I type this:
find . | xargs grep test
Then i get the message:
xargs cannot fork.
I'm using "UnixUtils" commands on windows XP... Can anybody help me to
find a solution to my problem.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: grep a string in subdirectories
2006-11-17 10:26 grep a string in subdirectories william.a.george
@ 2006-11-21 12:48 ` netawater
0 siblings, 0 replies; 2+ messages in thread
From: netawater @ 2006-11-21 12:48 UTC (permalink / raw)
william.a.george@gmail.com writes:
> Hi.
> My problem is When I type this:
> find . | xargs grep test
> Then i get the message:
> xargs cannot fork.
>
> I'm using "UnixUtils" commands on windows XP... Can anybody help me to
> find a solution to my problem.
Please make a script like this:
find ../ -name '*.[ch]' -exec grep -H $1 '{}' ';'
it works very well in my Linux machine.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-11-21 12:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-17 10:26 grep a string in subdirectories william.a.george
2006-11-21 12:48 ` netawater
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).