in reply to Re^2: Search through multiple files and output results to new file
in thread Search through multiple files and output results to new file
Each instance would be trying to process the same files.Oh. I never got the impression that the OP wanted this. I fail to see why that's a benefit.
Which would mean lots of "file in use" errors and/or duplicated results.Windows doesn't allow two processes to open the same file? That sounds like an easy DoS.
The multiple instances would be trying to redirect their output to the same file. Even if you use append (>>), Windows won't let you do that. Not sure if *nix will?Unix allows multiple processes to write to the same file. And if the file is opened in append mode, all write()s will go to the end of the file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Search through multiple files and output results to new file
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 |