Generic shell quasiquoter.

Unfortunately it couldn't be tested easily
because of GHC stage restrictions.