which in unix returns only one line, so no worries, where in windows returns all copies. So in unix, there will be no \r\n and so it will split to itself in array. I've tested it, it works fine.