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
In reply to Re: Clearing lines in a file based on an array containing the lines
by NiJo
in thread Clearing lines in a file based on an array containing the lines
by rycher
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |