Quoth Dmitry Goncharov:
Humm, in the following example do you want N and M to expand to
different values? If yes, can you please tell us about your use case
where such behavior is needed?
.POSIX:
M=word
N=${M:word=a\
b}
all:; echo ${N} ${M:word=a\
b}
I would think they should expand to
echo 'a\
b'
which outputs
a\
b
This, gmake handles right (and bmake—the other make I have right here
to test—does not).
--
Humm
command
echo a\
b
with output `ab`. The actual output is `a b`.
Tested with gmake 4.3 (Alpine Linux) (same with bmake).
--
Humm