Remix.run Logo
gaigalas 2 hours ago

yash also has something similar, ECHO_STYLE var.

https://magicant.github.io/yash/doc/_echo.html

Additionally, the ksh family has `print`, which solves some of the issues.

And the story repeats all over again, each shell solving the problem in a different way :) That's one of the main reasons I went for solving the portability problem from the scripting side, not the interpreter side.