Re: escaped newline in macro expansion in command line

2022-01-07 Thread Humm
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

Re: escaped newline in macro expansion in command line

2021-12-24 Thread Humm
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

escaped newline in macro expansion in command line

2021-12-24 Thread 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