Checking line endings