pubby / nesfab

Programming language that targets the Nintendo Entertainment System
GNU General Public License v3.0
439 stars 19 forks source link

echo -e is not portable #8

Closed polluks closed 1 year ago

polluks commented 1 year ago

https://github.com/pubby/nesfab/blob/f4d6fc49c6655260f0c4e557fb63486e447906be/Makefile#L13 This option fails on macOS, NetBSD, etc. Please take a look https://stackoverflow.com/questions/11530203/what-is-more-portable-echo-e-or-using-printf

pubby commented 1 year ago

That's a good point. Looks like printf is the way to go.

pubby commented 1 year ago

printf is in