http://www.perlmonks.org?node_id=604548


in reply to Re^2: Search and delete lines based on string matching
in thread Search and delete lines based on string matching

How is your input data formatted?
  1. bin den mig
  2. bin
    den
    mig
  3. bin deg
    mig