Performance Test

Performance Test

# acctfltr.awk

/00JWO/ { next }

/ADAMS/ { next }

...

...

/ZERDE/ { next }

#!/usr/local/bin/perl

# set output field & record separator

$, = ' '; $\ = "\n";

line: while (<>) {

chop; # strip record separator

if (/00JWO/) { next line; }

if (/ADAMS/) { next line; }

...

...

if (/ZERDE/) { next line; }

print $_;

}

Previous slide Next slide Back to the first slide View Graphic Version