comparison GrepFile.pl @ 5:7b3d89b8fc9f draft

Uploaded
author geert-vandeweyer
date Mon, 28 Jul 2014 07:50:55 -0400
parents 606e24c6fda0
children
comparison
equal deleted inserted replaced
4:606e24c6fda0 5:7b3d89b8fc9f
115 } 115 }
116 if ($type eq 'file') { 116 if ($type eq 'file') {
117 for ($i = 1; $i<= $nrgrep ; $i++) { 117 for ($i = 1; $i<= $nrgrep ; $i++) {
118 ${"grep$i"}->join(); 118 ${"grep$i"}->join();
119 } 119 }
120
121 $printqueue->enqueue(undef);
122 $print->join();
120 } 123 }
121 $printqueue->enqueue(undef);
122 $print->join();
123
124 system("cp $tmpdir/result.txt '$outfile'"); 124 system("cp $tmpdir/result.txt '$outfile'");
125 125
126 system("rm -Rf $tmpdir"); 126 system("rm -Rf $tmpdir");
127 127
128 ################## 128 ##################