Use echo -n instead of printf

Ticket: 3308