Perhaps the OP can first elaborate on what's he's trying to achieve before offering solutions based on guesses.
It seemed, and still seems to me, quite clear from the OP what he is hoping to do.
Run the equivalent of grep -h %search_string% *.txt > retuned_Results.sl in a manner than utilises his multiple cores to reduce the runtime of the query.
Ie. Process the filelist generated from *.txt in parallel on all his cores, rather than serially on only one as the standard grep command would do; and collate the results into a single output file. I don't see any need for guesses.
Whether this actually achieves a saving in runtime really depends upon the size of the files and complexity of the search parameters. It is actually quite difficult to compare like with like because of the affects of file system caching.
In reply to Re^6: Search through multiple files and output results to new file
by BrowserUk
in thread Search through multiple files and output results to new file
by Moloch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |