Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to merge txt files

807603Nov 9 2007 — edited Nov 9 2007
Hey!
I would like you to give me a hint
I have the some files with data inside each file like this

filename ---------------->data
a.txt --------------------> my name is /n John
b.txt --------------------> Your name is /n Maria
c.txt --------------------> His name is /n Tony
d.txt --------------------> Her name is /n Alexandra

,where /n denotes a new line


Do you have any idea how could I merge them in a single txt file ,this is

e.txt --------------------->my name is /n John /n Your name is /n Maria /n His name is /n Tony /n Her name is/n Alexandra

Thanks in advance!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 7 2007
Added on Nov 9 2007
17 comments
314 views