in reply to Re: command line and quotesin thread command line and quotes
For bash-like shells, quotemeta doesn't do the correct escaping, as it turns a newline to a backslash-newline pair, which bash will unescape to an empty string.