User: Aaron Allan -- 2012-12-18 << 1033 1035 >> |
Hits: 3918 |
Type: Text merge |
Search all Text merge examples |
Description: |
I would like to merge only the unique lines found in File A with the text of File B. Identical lines remain unchanged in merged output. |
Input Sample: |
Example: File A: The boy ran away. The sun was shining. It was cold. Today is Monday. It started to rain. He was hungry. etc. File B: The boy ran away. (same line File A and B) It was late. (unique line File B) His name was Paul (unique line File B) It was cold. (same line File A and B) It started to rain. (same line File A and B) He was getting wet. (unique line File B) Today is Monday. (same line File A and B) |
Output Sample: |
Output Merge File: Unique lines in File A merged into File B. The boy ran away. (same line File A and B) The sun was shining.(unique line File A) It was late. (unique to File B) His name was Paul (unique to File B) It was cold. (same line File A and B) It started to rain. (same line File A and B) He was getting wet. (unique line File B) Today is Monday. (same line File A and B) He was hungry (unique line File A) etc. |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
Assume file A is d:\test\a.txt 1. ctrl-o open file B.txt 2. ctrl-h open 'replace' dialogue * set 'replace with pattern' to: * click 'advanced' tab, set 'run following for each matched unit' to: 3. click 'replace', done. 4. ctrl-s save to disk. |
Screenshot 1: Replace_Window |
Screenshot 2: Replace_Advanced_Window |