Oh sorry, I forgot to indicated that there could be multiple Errors statements
Oh well. Slight modification:
perl -nle '$_ eq "Errors" ? delete($f{$prev}) : $f{$prev=$_}++; END {u +nlink keys %f}'
print "Just another Perl ${\(trickster and hacker)},"
The Sidhekin proves Sidhe did it!
In reply to Re^3: Want to do One line Perl Command
by Sidhekin
in thread Want to do One line Perl Command
by EchoAngel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |