while() { next if 1../The mail system/; # The condition will be true from line 1 until "The mail system" # Code here }