Removed the eol parameter from the readline function call