perl -e 'print "How'"'"'re you?\n"' To paraphrase, we have a close single quote followed by an open double quote - then the single quote, a close double quote followed by another open single quote. Clear as mud. But it works. Paul