3
my $pattern = shift (@ARGV);
4
$pattern = 'util/defs/wntmsci' if (!defined $pattern);
6
# removes crud from diffs
11
if ($line =~ m/^--- ([^ \t]*)/) { # spaces in fname ?
13
if ($path =~ m/$pattern/) {
15
print STDERR "Prune $path section\n";
18
# print STDERR "Preserve $path section\n";
21
print $line if (!$filter);