support kill line(s) and duplicate line(s).