for f in sample{1..7}.fasta ; do grep '^>' "$f" | wc -l done [download]
In reply to Re: Make this simpler? by ikegami in thread Make this simpler? by faozhi