#!/usr/bin/perl open IN, "list2"; while() {s/.*.*//; s/>.*//; print; }