in reply to Clearing lines in a file based on an array containing the lines
Least amount of your code, C speed, use of multiple cores for free$command = join (' | grep -v ', @erase_these) system "cat $in_file" . $command . " > $out_file"
Limitation: maximum command length on shell
|
|---|