Jump to content
Sign in to follow this  
phatzilla

Need help Combining (concatenating) Two text Files

Recommended Posts

phatzilla

Hey guys, I want to combine two text files i have....

So for example if Text 1(Text1.txt) lines read

Line1

Line2

Line3

Line4

..

..

..

Text 2(text2.txt) Lines read

LineA

LineB

LineC

LineD

..

..

..

I want to be able to combine these into

Text 3 (Text3.txt)

Line1:LineA

Line2:LineB

Line3:LineC

Line4:LineD

So i would essentially combine the lines together with a ":" as a separator.

Can i get some assistance on how to make a script that does this?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.