#!/usr/bin/perl @array = `./print.pl 20170101 20170228`;foreach $a ( @array ){ chomp $a; print "/root/print.pl $a\n";}