How can I mix two .txt files in this specific way? [on hold]











up vote
0
down vote

favorite












I have two .txt files, and they are something like this:



File 1:



a:b:c
a:b:c


(Lines are all different, but to simplify I use the same letters.)



File 2:



c:d
c:d


(Lines are all different, but to simplify I use the same letters.)



I want a final file that looks like:



@a:b:d


Is this possible? They are big files (File1≈2GB , File2≈600MB).










share|improve this question









New contributor




Salvatore is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as unclear what you're asking by Scott, n8te, PeterH, Toto, Kamil Maciorowski 12 hours ago


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.















  • As far as I understand your needs, it is not possible in a text editor, you have to write a script in your favorite scripting language.
    – Toto
    23 hours ago










  • to simplify I use the same letters – oversimplification, not a good thing. Example file 1 has two identical lines; the same for file 2. Yet the desired output is one line. How to match lines from 1 and 2? Line by line? or by a common c key? If by a common key, what if there are multiple matches? You should edit and make this clear. Also: Notepad++ may not be the best tool (or not be suitable at all). Will you accept another tool/way?
    – Kamil Maciorowski
    12 hours ago















up vote
0
down vote

favorite












I have two .txt files, and they are something like this:



File 1:



a:b:c
a:b:c


(Lines are all different, but to simplify I use the same letters.)



File 2:



c:d
c:d


(Lines are all different, but to simplify I use the same letters.)



I want a final file that looks like:



@a:b:d


Is this possible? They are big files (File1≈2GB , File2≈600MB).










share|improve this question









New contributor




Salvatore is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as unclear what you're asking by Scott, n8te, PeterH, Toto, Kamil Maciorowski 12 hours ago


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.















  • As far as I understand your needs, it is not possible in a text editor, you have to write a script in your favorite scripting language.
    – Toto
    23 hours ago










  • to simplify I use the same letters – oversimplification, not a good thing. Example file 1 has two identical lines; the same for file 2. Yet the desired output is one line. How to match lines from 1 and 2? Line by line? or by a common c key? If by a common key, what if there are multiple matches? You should edit and make this clear. Also: Notepad++ may not be the best tool (or not be suitable at all). Will you accept another tool/way?
    – Kamil Maciorowski
    12 hours ago













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have two .txt files, and they are something like this:



File 1:



a:b:c
a:b:c


(Lines are all different, but to simplify I use the same letters.)



File 2:



c:d
c:d


(Lines are all different, but to simplify I use the same letters.)



I want a final file that looks like:



@a:b:d


Is this possible? They are big files (File1≈2GB , File2≈600MB).










share|improve this question









New contributor




Salvatore is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I have two .txt files, and they are something like this:



File 1:



a:b:c
a:b:c


(Lines are all different, but to simplify I use the same letters.)



File 2:



c:d
c:d


(Lines are all different, but to simplify I use the same letters.)



I want a final file that looks like:



@a:b:d


Is this possible? They are big files (File1≈2GB , File2≈600MB).







notepad++ text-editors notepad






share|improve this question









New contributor




Salvatore is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Salvatore is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited yesterday









n8te

4,61572232




4,61572232






New contributor




Salvatore is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









Salvatore

1




1




New contributor




Salvatore is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Salvatore is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Salvatore is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




put on hold as unclear what you're asking by Scott, n8te, PeterH, Toto, Kamil Maciorowski 12 hours ago


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






put on hold as unclear what you're asking by Scott, n8te, PeterH, Toto, Kamil Maciorowski 12 hours ago


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • As far as I understand your needs, it is not possible in a text editor, you have to write a script in your favorite scripting language.
    – Toto
    23 hours ago










  • to simplify I use the same letters – oversimplification, not a good thing. Example file 1 has two identical lines; the same for file 2. Yet the desired output is one line. How to match lines from 1 and 2? Line by line? or by a common c key? If by a common key, what if there are multiple matches? You should edit and make this clear. Also: Notepad++ may not be the best tool (or not be suitable at all). Will you accept another tool/way?
    – Kamil Maciorowski
    12 hours ago


















  • As far as I understand your needs, it is not possible in a text editor, you have to write a script in your favorite scripting language.
    – Toto
    23 hours ago










  • to simplify I use the same letters – oversimplification, not a good thing. Example file 1 has two identical lines; the same for file 2. Yet the desired output is one line. How to match lines from 1 and 2? Line by line? or by a common c key? If by a common key, what if there are multiple matches? You should edit and make this clear. Also: Notepad++ may not be the best tool (or not be suitable at all). Will you accept another tool/way?
    – Kamil Maciorowski
    12 hours ago
















As far as I understand your needs, it is not possible in a text editor, you have to write a script in your favorite scripting language.
– Toto
23 hours ago




As far as I understand your needs, it is not possible in a text editor, you have to write a script in your favorite scripting language.
– Toto
23 hours ago












to simplify I use the same letters – oversimplification, not a good thing. Example file 1 has two identical lines; the same for file 2. Yet the desired output is one line. How to match lines from 1 and 2? Line by line? or by a common c key? If by a common key, what if there are multiple matches? You should edit and make this clear. Also: Notepad++ may not be the best tool (or not be suitable at all). Will you accept another tool/way?
– Kamil Maciorowski
12 hours ago




to simplify I use the same letters – oversimplification, not a good thing. Example file 1 has two identical lines; the same for file 2. Yet the desired output is one line. How to match lines from 1 and 2? Line by line? or by a common c key? If by a common key, what if there are multiple matches? You should edit and make this clear. Also: Notepad++ may not be the best tool (or not be suitable at all). Will you accept another tool/way?
– Kamil Maciorowski
12 hours ago















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Plaza Victoria

In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...