Revert "use shlex for lexical analysis"

This reverts commit 324ca4fd1b31bd4f780b1b585b6bb59817ed68d7.

This commit breaks quoting.