use '*' as end of integer marker instead of newline

could not make consistent results of newlines. for example, printing
'\r\n' resulted in '\r\r\n' on cygwin, this is platform-independent