Recognise newlines and carrige returns.
Generate integers