Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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!

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://328886]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2024-04-22 09:36 GMT
Find Nodes?
    Voting Booth?

    No recent polls found