add utility to split lines (faster than tr?)