in reply to Re^2: Counting no of '>' symbol in a filein thread Counting no of '>' symbol in a file
Moreover, in a fasta file, the > appears only once per line, and only as the very first character
well, then
should do.