Le 09/03/2016 11:30, Stephan Witt a écrit :
If this is a bug I cannot decide - indeed this is a little bit weird:

$ echo -e x
x
$ which echo
/bin/echo
$ type echo
echo is a shell builtin
$ sh
sh-3.2$ type echo
echo is a shell builtin
sh-3.2$ echo -e x
-e x
sh-3.2$

And "help echo"?

Personally, I did not know this -e option, and it is not very standard IMO.
I do not know what is a standard way to add a line break in a make substitution.

Where is it?

In frontends/qt4/Makefile.am (and probably most other make files):

liblyxqt4.cpp:
        @echo -e '$(SOURCEFILES:%=\n#include "%")\n' > $@

Using printf might work, although we do need to use a % in there. May be with a %% instead.

JMarc

Reply via email to