use strict; use warnings; system("sed -ie 's/\(.*\)/Number => \1/' test.txt");