Use prinf instead of echo.