shell>some -really -long -command 'string\ more string stuff' #### expect_send(qq{some -command 'string stuff\\ \cM more on next line'}, "Testing...");