Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: File Copy/Merge Question

by BrowserUk (Patriarch)
on Feb 13, 2004 at 21:46 UTC ( [id://328886] : note . print w/replies, xml ) Need Help??

in reply to File Copy/Merge Question

This one liner will do it. If you have 5.8.1 or later, it is also safe to use on binary files on win32.

perl -C3 -pe1 file1 file2 file3 > all

And it's a lot easier to type than copy file1/b + file2/b + file3/b all/b which is the native command for this.

Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
Timing (and a little luck) are everything!