#! /usr/bin/perl my $c = 1; while () { chomp ($_); if ($_=~/

PROTEIN REPORT/) { print "$_\n"; $c = 0; } elsif ($c == 1) { next; } elsif ($_=~//) { last; } else { print "$_\n"; } }