I have a GFF3 file and at the bottom of the file there is a FASTA report of the genome.
I want to delete everything below the line that says '##FASTA' - including that line so that all i have left is the regular GFF report with out the FASTA.
I need to do this for multiple files. Please help.
True, but it would be even easier to just use head instead of wc -l and sed.