if ($line =~ /$target_os/) { undef $flag; next; }