Description of problem:
Normal commands work fine with multi-line parameters, eg:
$ echo "hello
but libtool --mode=execute breaks them:
$ libtool --mode=execute echo "hello
/usr/bin/libtool: line 2062: world: command not found
Version-Release number of selected component (if applicable):
libtool (GNU libtool) 2.4.6
Steps to Reproduce:
1. See above.
Richard, thanks for the report.
This must be fixed upstream first, and note the comment upstream:
IOW, libtool uses 'func_quote*' and 'func_append_quoted' which is not working
with newlines correctly.
This is unfortunately very unlikely to get 100% fixed (no portable way),
but there is one non-portable upstream fix-in-progress with bash's
'printf %q' which is going to be in new libtool release. The point is
that --mode=execute is not covered yet. So good to know, thanks again.