#! /usr/bin/perl while() { chop; s/.hh//; print " -e \'s/$_/G4$_/g\' \\\n"; }