RFR: 8301197: Make sure use of printf is correct and actually needed

Erik Joelsson erikj at openjdk.org
Fri Apr 4 07:19:51 UTC 2025


On Fri, 4 Apr 2025 02:23:23 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> That would add an extra \n at the end. Maybe it does not matter so much, but I did not want to change anything.
>
> `echo -n` ?

I wasn't aware of that feature in `echo`, but I agree that if we are using printf just to omit the line break, then `echo -n` seems like a better choice.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/24415#discussion_r2028251285


More information about the build-dev mailing list