does now consider unix, windows and pre-osx mac newlines