perl -pe '/^>/ ? print "\n" : chomp' in.fasta | tail -n +2 > out.fasta
Reference Source:
http://biotrainee.com/thread-291-1-1.html