- or download this
LINE: for each line of the file {
PATTERN: for each exclude string {
...
skip to the next LINE
}
}
- or download this
LINE: for each line of the file {
PATTERN: for each exclude string {
...
}
we weren't excluded by any pattern, so print the line
}
- or download this
LINE: foreach my $line (@file1only) {
foreach my $exclude (@strings) {
...
# we weren't excluded by any of the patterns
print OUT $line;
}