Just another Perl shrine | |
PerlMonks |
Re: Merging files, 1 line for every 10by JavaFan (Canon) |
on Sep 06, 2011 at 21:53 UTC ( [id://924472]=note: print w/replies, xml ) | Need Help?? |
I wouldn't use Perl for something so trivial - that's easily done in a shell one-liner. I'll give a shell (bash) solution, porting it to Perl is left as an exercise for the reader. Assume the names of the two files are in variables $FILE1 and $FILE2.
In Section
Seekers of Perl Wisdom
|
|