in reply to parallel reading
JAPH(just another perl approach),hehe:
assumption that each file has the same number of lines, here line=3 for easeperl -e 'map{chomp;$a[$i<3?$i:($i=0)].=$_;$i++}<>;print"@a\n";' filea +fileb filec
|
---|
In Section
Seekers of Perl Wisdom