in reply to Re: file substitution
in thread file substitution
perl's regexes are not as fast as grep's. But this will do, probably fast enough.my @junk = map {chomp $_; qr/\Q$_\E/} <JUNK>; while (<>) { next if $_ =~ $junk foreach my $junk (@junk); print; }
|
|---|