Update the jrep sample to print lines with multiple matches only once.