Re: Recursion with grep?
From: Francisco J Reyes (fran_at_natserv.net)
Date: 11/14/03
- Previous message: Francisco Reyes: "Re: Recursion with grep?"
- In reply to: Viktor Lazlo: "Re: Recursion with grep?"
- Next in thread: parv: "Re: Recursion with grep?"
- Reply: parv: "Re: Recursion with grep?"
- Reply: Kirk Strauser: "Re: Recursion with grep?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 13 Nov 2003 22:42:18 -0500 (EST) To: Viktor Lazlo <viktorlazlo@telus.net>
On Thu, 13 Nov 2003, Viktor Lazlo wrote:
> If there are a large number of files this will call grep numerous
> times--it would be more efficient to pass to xargs so grep is only called
> a few times:
>
> find . -type f -print | xargs grep options string
Although in my case the files are few I will keep this sample handy if I
ever need to work on large number of files.
I think I am going to research what would it take for someone to fix grep
and pay them.
How do think we would want grep to work?
Do we want something like:
grep -r <string> *.c
If I get someone to change grep anyone care to comment on whether it would
be difficult to get this imported into the tree?
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: Francisco Reyes: "Re: Recursion with grep?"
- In reply to: Viktor Lazlo: "Re: Recursion with grep?"
- Next in thread: parv: "Re: Recursion with grep?"
- Reply: parv: "Re: Recursion with grep?"
- Reply: Kirk Strauser: "Re: Recursion with grep?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|