proper detection of system line separator