in reply to Search through multiple files and output results to new file
Unfortunately, the 32 bit grep for windows that I am running, I cannot run multiple instances of it or use the full potential.I don't much about Windows, but I'm baffled by this statement. Why can't you run multiple instances of it?
Therefore I am trying to create a Perl script using Perl x64 can do the following grep:Uhm, that's just one instance. Which, AFAIK, on Unix, doesn't use multiple cores either. And why doesn't it do what you want under Windows?grep -h %search_string% *.txt > retuned_Results.sl
Of course, the Perl equivalent of the above is:
but if the grep doesn't do what you want, I fear the above doesn't do what you want either.perl -ne 'print if /%search_string%/' *.txt > retuned_Results.sl
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Search through multiple files and output results to new file
by BrowserUk (Patriarch) on Aug 24, 2010 at 16:25 UTC | |
by JavaFan (Canon) on Aug 24, 2010 at 20:00 UTC | |
by BrowserUk (Patriarch) on Aug 24, 2010 at 21:05 UTC | |
by JavaFan (Canon) on Aug 24, 2010 at 21:16 UTC | |
by BrowserUk (Patriarch) on Aug 24, 2010 at 21:47 UTC |