Back to labs/answer key page
tr ' ' '\012' < 00ws110.txt | tr A-Z a-z | grep '^\([a-z]\)\([a-z]\).\2\1$'
(00ws110.txt, the complete First Folio of Shakespeare, is in /home/corpora/english/gutenberg/etexts00.)