print string on standard output