Multiline Commands

Support for multiline commands implemented. Now correctly passes test
case 6 in test-p-ok (restored from skeleton).