Try printf instead of echo; OS X fails at life