On Mon, 11 May 2020 13:46:35 +0000 David Laight David.Laight@ACULAB.COM wrote:
From: Masami Hiramatsu
Sent: 11 May 2020 14:38
Hi Andreas and David,
OK, what about this fix?
No idea what it is trying to do or why. Just a way of avoiding the differences between SYSV and BSD /bin/echo.
IIRC Posix allows both behaviours (and probably others).
Ah, I got it. That's why POSIX said "the results are implementation-defined."
https://pubs.opengroup.org/onlinepubs/009695399/utilities/echo.html
Thank you!