My post is at : https://github.com/kstatebioinfo/swc/blob/master/grep_fasta.md.

-J