Re: find and searching for specific expression in files
- From: Wojciech Puchar <wojtek@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 30 May 2009 17:57:14 +0200 (CEST)
because it tells you the file in which the text pattern was found :).
Discouraged because:
- it's possible to hit maxarglen if the root directory has many
subdirectories.
xargs is usefull too. i would it as forking for each file will make processing really slow. xargs can cut input data into given chunks with -n option, so grep will be called for say 100 files at once.
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: find and searching for specific expression in files
- From: Mel Flynn
- Re: find and searching for specific expression in files
- References:
- find and searching for specific expression in files
- From: Zbigniew Szalbot
- Re: find and searching for specific expression in files
- From: Zbigniew Szalbot
- Re: find and searching for specific expression in files
- From: Valentin Bud
- Re: find and searching for specific expression in files
- From: Mel Flynn
- find and searching for specific expression in files
- Prev by Date: Re: Greylisting and new posters
- Next by Date: Re: Canon printer and TurboPrint
- Previous by thread: Re: find and searching for specific expression in files
- Next by thread: Re: find and searching for specific expression in files
- Index(es):
Relevant Pages
|