lineparser appends line number to string