perl -ane "next unless not $seen{$F[1].$F[2]}++ or m/^\s*\D/;print" InputFile.txt